Functions | Variables
testSerialization.cpp File Reference

Tests for serialization global functions using boost.serialization. More...

#include <gtsam_unstable/slam/serialization.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/geometry/Pose3.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/sam/BearingRangeFactor.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/filesystem.hpp>
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <sstream>
Include dependency graph for testSerialization.cpp:

Go to the source code of this file.

Functions

NonlinearFactorGraph exampleGraph ()
 
Values exampleValues ()
 
int main ()
 
 TEST (testSerialization, serialization_file)
 
 TEST (testSerialization, text_graph_serialization)
 
 TEST (testSerialization, text_values_serialization)
 
 TEST (testSerialization, xml_graph_serialization)
 
 TEST (testSerialization, xml_values_serialization)
 

Variables

static string topdir = "TOPSRCDIR_NOT_CONFIGURED"
 

Detailed Description

Tests for serialization global functions using boost.serialization.

Date
Jun 12, 2013
Author
Alex Cunningham

Definition in file testSerialization.cpp.

Function Documentation

◆ exampleGraph()

NonlinearFactorGraph exampleGraph ( )

Definition at line 47 of file testSerialization.cpp.

◆ exampleValues()

Values exampleValues ( )

Definition at line 36 of file testSerialization.cpp.

◆ main()

int main ( )

Definition at line 120 of file testSerialization.cpp.

◆ TEST() [1/5]

TEST ( testSerialization  ,
serialization_file   
)

Definition at line 88 of file testSerialization.cpp.

◆ TEST() [2/5]

TEST ( testSerialization  ,
text_graph_serialization   
)

Definition at line 56 of file testSerialization.cpp.

◆ TEST() [3/5]

TEST ( testSerialization  ,
text_values_serialization   
)

Definition at line 72 of file testSerialization.cpp.

◆ TEST() [4/5]

TEST ( testSerialization  ,
xml_graph_serialization   
)

Definition at line 64 of file testSerialization.cpp.

◆ TEST() [5/5]

TEST ( testSerialization  ,
xml_values_serialization   
)

Definition at line 80 of file testSerialization.cpp.

Variable Documentation

◆ topdir

string topdir = "TOPSRCDIR_NOT_CONFIGURED"
static

Definition at line 33 of file testSerialization.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:54