20 #ifdef GENOM_SERIALIZATION
21 #include <boost/archive/binary_iarchive.hpp>
22 #include <boost/archive/binary_oarchive.hpp>
23 #endif //GENOM_SERIALIZATION
67 std::map<std::string, PropertySharedPtr>::const_iterator it = inSource.begin();
68 for(; it != inSource.end(); it++) {
77 #ifdef GENOM_SERIALIZATION
78 template <
class Archive>
void PropertyContainer::serialize(Archive& ar,
unsigned int) {
83 template void PropertyContainer::serialize<boost::archive::binary_iarchive>(
84 boost::archive::binary_iarchive& ar,
const unsigned int);
86 template void PropertyContainer::serialize<boost::archive::binary_oarchive>(
87 boost::archive::binary_oarchive& ar,
const unsigned int);
89 #endif //GENOM_SERIALIZATION
bool setProperty(const std::string &inName, const PropertySharedPtr &inProperty)
bool set(const KeyType &inKey, const ValueType &inValue)
bool get(const KeyType &inKey, ValueType &outValue) const
void setProperties(const std::map< std::string, PropertySharedPtr > &inSource)
SymTab< std::string, PropertySharedPtr > mProperties
boost::shared_ptr< Property > PropertySharedPtr
PropertySharedPtr getProperty(const std::string &inName)