The makArchives::DtSchemaEntry class is a collection of makArchives::DtSchemaParameter objects.
More...
Static Public Member Functions |
| static const DtSchemaEntry & | defaultInstance () |
| | Returns a schema entry instance containing default required parameters.
|
Protected Member Functions |
| template<typename Archive > |
| void | serialize (Archive &ar, unsigned int version) |
| | When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
|
Detailed Description
The makArchives::DtSchemaEntry class is a collection of makArchives::DtSchemaParameter objects.
A schema entry will make up a DtSchema and will be written out as part of that class
Member Typedef Documentation
Constructor & Destructor Documentation
| makArchives::DtSchemaEntry::DtSchemaEntry |
( |
| ) |
|
| makArchives::DtSchemaEntry::DtSchemaEntry |
( |
const std::string & |
name | ) |
|
| makArchives::DtSchemaEntry::DtSchemaEntry |
( |
const DtSchemaEntry & |
copy | ) |
|
| makArchives::DtSchemaEntry::~DtSchemaEntry |
( |
| ) |
|
Member Function Documentation
| static const DtSchemaEntry& makArchives::DtSchemaEntry::defaultInstance |
( |
| ) |
|
|
static |
Returns a schema entry instance containing default required parameters.
| const std::string& makArchives::DtSchemaEntry::name |
( |
void |
| ) |
const |
|
inline |
| void makArchives::DtSchemaEntry::setName |
( |
const std::string & |
n | ) |
|
|
inline |
| virtual void makArchives::DtSchemaEntry::addParameter |
( |
const DtSchemaParameter & |
parameter | ) |
|
|
virtual |
| virtual bool makArchives::DtSchemaEntry::removeSchemaParameter |
( |
const std::string |
name | ) |
|
|
virtual |
Remove a schema parameter.
Returns whether the parameter was removed successfully.
Get the collection of schema parameters.
| virtual bool makArchives::DtSchemaEntry::renameParameter |
( |
const std::string & |
oldName, |
|
|
const std::string & |
newName |
|
) |
| |
|
virtual |
Renames parameter from old to new name. Returns true if renamed.
| DtSchemaParameter* makArchives::DtSchemaEntry::findSchemaParameter |
( |
const std::string |
name | ) |
|
a schema parameter by name.
Warning\ the pointer will be invalid if you perform any Additions or Removals.
| const DtSchemaParameter* makArchives::DtSchemaEntry::findSchemaParameter |
( |
const std::string |
name | ) |
const |
a schema parameter by name.
Warning\ the pointer will be invalid if you perform any Additions or Removals.
template<typename Archive >
| void makArchives::DtSchemaEntry::serialize |
( |
Archive & |
ar, |
|
|
unsigned int |
version |
|
) |
| |
|
inlineprotected |
When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.
| static bool makArchives::DtSchemaEntry::findSchemaFunction |
( |
const DtSchemaParameter & |
parameter, |
|
|
const std::string & |
name |
|
) |
| |
|
staticprotected |
predicate for finding a schema in a collection
Friends And Related Function Documentation
| friend class boost::serialization::access |
|
friend |
Member Data Documentation
| std::string makArchives::DtSchemaEntry::myName |
|
protected |
The documentation for this class was generated from the following file: