Public Member Functions | Public Attributes | Friends | List of all members
gtsam::TestOptionalStruct Class Reference

Public Member Functions

bool operator== (const TestOptionalStruct &other) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 TestOptionalStruct ()=default
 
 TestOptionalStruct (const int &opt)
 
 TestOptionalStruct (const TestOptionalStruct &other)=default
 

Public Attributes

std::optional< intopt
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 57 of file testStdOptionalSerialization.cpp.

Constructor & Destructor Documentation

◆ TestOptionalStruct() [1/3]

gtsam::TestOptionalStruct::TestOptionalStruct ( )
default

◆ TestOptionalStruct() [2/3]

gtsam::TestOptionalStruct::TestOptionalStruct ( const int opt)
inline

Definition at line 61 of file testStdOptionalSerialization.cpp.

◆ TestOptionalStruct() [3/3]

gtsam::TestOptionalStruct::TestOptionalStruct ( const TestOptionalStruct other)
default

Member Function Documentation

◆ operator==()

bool gtsam::TestOptionalStruct::operator== ( const TestOptionalStruct other) const
inline

Definition at line 65 of file testStdOptionalSerialization.cpp.

◆ serialize()

template<class Archive >
void gtsam::TestOptionalStruct::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 71 of file testStdOptionalSerialization.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 69 of file testStdOptionalSerialization.cpp.

Member Data Documentation

◆ opt

std::optional<int> gtsam::TestOptionalStruct::opt

Definition at line 59 of file testStdOptionalSerialization.cpp.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:13