|
|
static ObjTreeCont * | convert (const std::string &name, ObjectMap *objMap, bool recursive=true) |
|
static void | addChildrenFromMap (ObjTreeCont *parent, const ObjectMultimap &variables) |
|
static void | addChildrenFromMapRecursive (ObjTreeCont *parent, const ObjectMultimap &variables) |
|
static std::unique_ptr< ObjTreeCont > | convertTree (const std::string &rootName, ObjectMap *objMap) |
| static bool | serializeComponent (ComponentObj *compNode, bool recursive=false) |
| | Takes a ComponentObj, serializes its BaseComponent via ObjectMapDeferred, and populates the ComponentObj's children with the serialized variables.
|
| static void | serializeAllComponents (ObjTreeCont *parent, bool recursive=false) |
| | Serialize all ComponentObj children of a given node.
|
| static std::unique_ptr< ObjTreeCont > | convertAndSerialize (const std::string &rootName, ObjectMap *objMap, bool recursive=true) |
| | Full pipeline: convert an ObjectMap tree, then serialize any ComponentObj nodes found in the result.
|
◆ convertAndSerialize()
| std::unique_ptr< ObjTreeCont > SST::Core::Serialization::ObjectMapToTree::convertAndSerialize |
( |
const std::string & | rootName, |
|
|
ObjectMap * | objMap, |
|
|
bool | recursive = true ) |
|
inlinestatic |
Full pipeline: convert an ObjectMap tree, then serialize any ComponentObj nodes found in the result.
- Parameters
-
| rootName | Name for the root node |
| objMap | Source ObjectMap to convert |
| recursive | If true, fully expand all levels |
- Returns
- Root of the converted and serialized tree
References serializeAllComponents().
◆ serializeAllComponents()
| void SST::Core::Serialization::ObjectMapToTree::serializeAllComponents |
( |
ObjTreeCont * | parent, |
|
|
bool | recursive = false ) |
|
inlinestatic |
◆ serializeComponent()
| bool SST::Core::Serialization::ObjectMapToTree::serializeComponent |
( |
ComponentObj * | compNode, |
|
|
bool | recursive = false ) |
|
inlinestatic |
The documentation for this class was generated from the following file: