#include <xsil.hh>

Public Member Functions | |
| XSIL (void) | |
| XSIL (const char *Name, const char *Type=0) | |
| XSIL (const XSIL &x) | |
| virtual | ~XSIL (void) |
| virtual XSIL * | Clone (void) const |
| void | Spew (Xwriter &ostr) const |
| virtual const xobj * | find (const std::string &nm, const std::string &ty) const |
| virtual xobj * | find (const std::string &nm, const std::string &ty) |
| xobj * | addObject (const xobj &x) |
| xobj * | addObject (xobj *x) |
| virtual XSIL * | addXSIL (const char *Name, const char *Type=0) |
| array * | addArray (const char *Name, const char *Type=0, const char *Unit=0) |
| comment * | addComment (const char *Text=0) |
| param * | addParam (const char *Name, const char *Type=0, const char *Unit=0, const char *Value=0) |
| param * | addParam (const char *Name, const char *Unit, double Value) |
| param * | addParam (const char *Name, const char *Unit, int Value) |
| table * | addTable (const char *Name, const char *Type=0) |
| time * | addTime (const char *Name, const char *Type=0, const char *Value=0) |
| time * | addTime (const char *Name, const Time &t) |
| void | erase (const xobj *x) |
| virtual const char * | getObjType (void) const |
| xsil::XSIL::XSIL | ( | void | ) |
XSil default constructor. brief default constructor.
| xsil::XSIL::XSIL | ( | const char * | Name, | |
| const char * | Type = 0 | |||
| ) |
XSIL named structure constructor. brief Named structure constructor.
| Name | Pointer to structure name string. | |
| Type | Pointer to structure type string. |
| xsil::XSIL::XSIL | ( | const XSIL & | x | ) |
XSIL structure copy constructor. brief Copy constructor.
| x | Structure definition to be copied. |
| virtual xsil::XSIL::~XSIL | ( | void | ) | [virtual] |
Destructor. brief Destructor.
| virtual XSIL* xsil::XSIL::Clone | ( | void | ) | const [virtual] |
Clone a structure. brief Clone a structure.
Implements xsil::xobj.
Reimplemented in xsil::ligolw.
| void xsil::XSIL::Spew | ( | Xwriter & | ostr | ) | const [virtual] |
Write XML structure to the specified writer. brief Write XML.
| ostr | XML output stream object. |
Implements xsil::xobj.
| virtual const xobj* xsil::XSIL::find | ( | const std::string & | nm, | |
| const std::string & | ty | |||
| ) | const [virtual] |
Find an object with the specified name and object type inside the container. The first object of the specified type with the requested name is returned. If the type or name are specified as an empty string, any type or name is considered to match. Find returns a null if the specified name isn't found. brief find an object.
| nm | Name of requested object. | |
| ty | Type of requested object. |
Reimplemented from xsil::xobj.
| virtual xobj* xsil::XSIL::find | ( | const std::string & | nm, | |
| const std::string & | ty | |||
| ) | [virtual] |
Find an object with the specified name and object type inside the container. The first object of the specified type with the requested name is returned. If the type or name are specified as an empty string, any type or name is considered to match. Find returns a null if the specified name isn't found. brief find an object.
| nm | Name of requested object. | |
| ty | Type of requested object. |
Reimplemented from xsil::xobj.
Clone a generic object and add the clone to the object list. brief Add an object.
| x | object to be cloned into the xsil structure. |
Add an existing generic object to the object list. brief Add an object.
| x | object to be added to the xsil structure. |
| virtual XSIL* xsil::XSIL::addXSIL | ( | const char * | Name, | |
| const char * | Type = 0 | |||
| ) | [virtual] |
Add a named XSIL substructure. brief Add an XSIL substructure.
| Name | Pointer to structure name string. | |
| Type | Pointer to structure type string. |
Reimplemented in xsil::ligolw.
| array* xsil::XSIL::addArray | ( | const char * | Name, | |
| const char * | Type = 0, |
|||
| const char * | Unit = 0 | |||
| ) |
| comment* xsil::XSIL::addComment | ( | const char * | Text = 0 |
) |
| param* xsil::XSIL::addParam | ( | const char * | Name, | |
| const char * | Type = 0, |
|||
| const char * | Unit = 0, |
|||
| const char * | Value = 0 | |||
| ) |
Add a parameter to the XSil structure. brief Add a parameter.
| Name | Pointer to parameter name string. | |
| Type | Pointer to parameter type string. | |
| Unit | Pointer to parameter units string. | |
| Value | Pointer to parameter value string. |
| param* xsil::XSIL::addParam | ( | const char * | Name, | |
| const char * | Unit, | |||
| double | Value | |||
| ) |
Add a double float parameter to the XSil structure. brief Add a double float parameter.
| Name | Pointer to parameter name string. | |
| Unit | Pointer to parameter units string. | |
| Value | Double float parameter value. |
| param* xsil::XSIL::addParam | ( | const char * | Name, | |
| const char * | Unit, | |||
| int | Value | |||
| ) |
Add an integer parameter to the XSil structure. brief Add an integer parameter.
| Name | Pointer to parameter name string. | |
| Unit | Pointer to parameter units string. | |
| Value | Integer parameter value. |
| table* xsil::XSIL::addTable | ( | const char * | Name, | |
| const char * | Type = 0 | |||
| ) |
| time* xsil::XSIL::addTime | ( | const char * | Name, | |
| const char * | Type = 0, |
|||
| const char * | Value = 0 | |||
| ) |
| time* xsil::XSIL::addTime | ( | const char * | Name, | |
| const Time & | t | |||
| ) |
| void xsil::XSIL::erase | ( | const xobj * | x | ) |
Remove an object from the xsil structure. brief Remove an object.
| x | Pointer to the object to be removed from the xsil structure. |
| virtual const char* xsil::XSIL::getObjType | ( | void | ) | const [virtual] |
Return the object type. brief Object type name.
Implements xsil::xobj.
Reimplemented in xsil::ligolw.
1.5.4