    

 ## On this page

  

 

 # PropertyList Class Reference

 Last update: 16.07.2025 

Container class for handling properties Uses templates to easily find and cast configurations of different types. [More...](class_property_list.xhtml#details)

## <a name="pub-types"></a>Public Types

<a id="a45e7948705e5aea09a975bbdbfe7b43a"></a>using **const\_iterator** = typename ListType::const\_iterator <a id="a6c030606fde1400a3a6447becc40e11a"></a>using **iterator** = typename ListType::iterator <a id="a53a5ff304175a7f235ac2d779a11eb98"></a>using **ListType** = std::vector&lt; value\_type &gt; <a id="ad78eedca7dc9da8184112de9199d246b"></a>using **value\_type** = boost::shared\_ptr&lt; [PropertyBase](struct_property_base.xhtml) &gt; ## <a name="pub-methods"></a>Public Member Functions

virtual string [\_\_str\_\_](class_property_list.xhtml#a3031d648b73235d11d64df95db3d84ce) () Outputfunction used in python context. Use this function to print instances of this class in python. [More...](#a3031d648b73235d11d64df95db3d84ce)  
 virtual [loadJson](class_property_list.xhtml#ae5700ae63985e3e6b30cb716ddb5fdd0) ([JsonValue](class_json_value.xhtml) root) override Function to load the Serializables data from a [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. "). [More...](#ae5700ae63985e3e6b30cb716ddb5fdd0)  
 <a id="a88fb4b13ffd84df44d54cff0a083f64f"></a>[PropertyList](class_property_list.xhtml) **operator=** ([PropertyList](class_property_list.xhtml) other) <a id="a5cd444e27b7c7c4ded55ea3970ac271c"></a> **PropertyList** ([PropertyList](class_property_list.xhtml) other)  [push\_back](class_property_list.xhtml#a32d36491abec383e98bf94a25b87bb28) ([PropertyBase](struct_property_base.xhtml) v) Appends a new entry to the list. We use unique\_ptr so move is used. [More...](#a32d36491abec383e98bf94a25b87bb28)  
 virtual [JsonValue](class_json_value.xhtml) [saveJson](class_property_list.xhtml#ab4587af0230811304c91f1c0aaa1c9ce) () override Function to save the Serializables data as a [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. "). [More...](#ab4587af0230811304c91f1c0aaa1c9ce)  
 virtual std::ostream [write](class_property_list.xhtml#a5246641e855e709d801786e7514c486a) (std::ostream os) Polymorphic ostream writer. Is used in the operator&lt;&lt;. [More...](#a5246641e855e709d801786e7514c486a)  
 <a id="details" name="details"></a>## Detailed Description

Container class for handling properties Uses templates to easily find and cast configurations of different types.



## Member Function Documentation

<a id="a3031d648b73235d11d64df95db3d84ce"></a>## [◆ ](#a3031d648b73235d11d64df95db3d84ce)\_\_str\_\_()

 virtual string \_\_str\_\_  ( )   virtual 

Outputfunction used in python context. Use this function to print instances of this class in python.

Returnsstring containing the object 



<a id="ae5700ae63985e3e6b30cb716ddb5fdd0"></a>## [◆ ](#ae5700ae63985e3e6b30cb716ddb5fdd0)loadJson()

 virtual loadJson  ( [JsonValue](class_json_value.xhtml)  *root*)   overridevirtual 

Function to load the Serializables data from a [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. ").

Parameters rootThe data of the serializable as [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. ") 



<a id="a32d36491abec383e98bf94a25b87bb28"></a>## [◆ ](#a32d36491abec383e98bf94a25b87bb28)push\_back()

 push\_back  ( [PropertyBase](struct_property_base.xhtml)  *v*) 

Appends a new entry to the list. We use unique\_ptr so move is used.

Parameters vThe ptr to be appended. 



<a id="ab4587af0230811304c91f1c0aaa1c9ce"></a>## [◆ ](#ab4587af0230811304c91f1c0aaa1c9ce)saveJson()

 virtual [JsonValue](class_json_value.xhtml) saveJson  ( )   overridevirtual 

Function to save the Serializables data as a [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. ").

ReturnsThe data of the serializable as [JsonValue](class_json_value.xhtml "Simple wrapper class to jsoncpp that make working with SWIG more convenient. ") 



<a id="a5246641e855e709d801786e7514c486a"></a>## [◆ ](#a5246641e855e709d801786e7514c486a)write()

 virtual std::ostream write  ( std::ostream  *os*)   virtual 

Polymorphic ostream writer. Is used in the operator&lt;&lt;.

Parameters osThe output stream ReturnsThe output stream modified to contain information on the instance