Inscoper::NBO::Map_Type
Represents the XML complex type Map. More...
#include <Map_Type.h>
Inherits from NBOBaseClass
Public Classes
|
Name |
| class |
InlineM Represents the XML element M. |
Public Types
Public Functions
|
Name |
|
Map_Type() |
|
~Map_Type() |
| std::string |
getTypeName() const override Returns the class type name. |
| std::string |
getXMLName() const override Returns the XML element name corresponding to this class. |
| ENBOType |
getNBOType() const override Returns the NBO Type corresponding to this class. |
| std::vector< NBOBaseClassPtr > |
getChildren() const override Returns a list of all classes derived from this class. |
| std::vector< NBOBaseClassPtr > |
getSubElements() const override Returns a list of all child elements contained in this class. |
| void |
fromJsonFile(const std::string & path, bool validate =true) Populates this object from a JSON file. |
| void |
fromJsonString(const std::string & json_string, bool validate =true) Populates this object from a JSON string. |
| void |
fromXmlFile(const std::string & path, bool validate =true) Populates this object from a XML file. |
| void |
fromXmlString(const std::string & xml_string, bool validate =true) Populates this object from a XML string. |
| void |
toXmlFile(const std::string & filename, bool validate =true) const Serializes this object to an XML file. |
| std::string |
toXmlString(bool validate =true) const Serializes this object to an XML string. |
| void |
setM_List(const std::vector< Inscoper::NBO::Map_Type::InlineMPtr > & value, bool validate =true) Sets the list of M elements. |
| std::vector< Inscoper::NBO::Map_Type::InlineMPtr > |
getM_List() const Returns the list of M elements. |
| void |
addToM_List(const Inscoper::NBO::Map_Type::InlineMPtr & value, bool validate =true) Adds a new M element to this object. |
| void |
clearM_List() Clear the list of M. |
| std::shared_ptr< Map_Type > |
fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a Map_Type. |
Detailed Description
class Inscoper::NBO::Map_Type;
Represents the XML complex type Map.
This is a Mapping of Key/Value pairs.
Public Types Documentation
typedef InlineMPtr
Public Functions Documentation
function Map_Type
function ~Map_Type
function getTypeName
function getXMLName
function getNBOType
function getChildren
function getSubElements
function fromJsonFile
function fromJsonString
function fromXmlFile
function fromXmlString
function toXmlFile
function toXmlString
function setM_List
function getM_List
function addToM_List
function clearM_List
function fromBase