|
Teamcenter C++ API Reference
2312
|
#include <AbstractResource.hxx>
Public Member Functions | |
| AbstractResource () | |
| void | addBoolDataPropertyValue (const bool &value, const std::string &key) |
| void | addDateTimePropertyValue (const date_t &value, const std::string &key) |
| void | addDecimalDataPropertyValue (const double &value, const std::string &key) |
| void | addDoubleDataPropertyValue (const double &value, const std::string &key) |
| void | addExtendedProperty (lis0lisfmwrk::Property *value, const std::string &key) |
| void | addFloatDataPropertyValue (const double &value, const std::string &key) |
| void | addIntDataPropertyValue (const int &value, const std::string &key) |
| void | addLocalResourcePropertyValue (lis0lisfmwrk::AbstractResource *value, const std::string &key) |
| void | addNamespace (const std::string &value, const std::string &key) |
| void | addProperty (lis0lisfmwrk::Property *value, const std::string &key) |
| void | addResourcePropertyValue (const std::string &str, const std::string &key) |
| void | addSimpleStringPropertyValue (const std::string &str, const std::string &key) |
| void | addStringDataPropertyValue (const std::string &value, const std::string &key) |
| void | addType (const std::string &type) |
| void | addXmlLiteralPropertyValue (const std::string &str, const std::string &key) |
| std::string | getAbout () |
| bool | getBoolDataPropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::BoolVector | getBoolDataPropertyValues (const std::string &key) |
| date_t | getDateTimePropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::DateVector | getDateTimePropertyValues (const std::string &key) |
| double | getDecimalDataPropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::DoubleVector | getDecimalDataPropertyValues (const std::string &key) |
| double | getDoubleDataPropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::DoubleVector | getDoubleDataPropertyValues (const std::string &key) |
| std::map< std::string, lis0lisfmwrk::Property * > | getExtendedProperties () |
| lis0lisfmwrk::Property * | getExtendedProperty (const std::string &key) |
| double | getFloatDataPropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::DoubleVector | getFloatDataPropertyValues (const std::string &key) |
| int | getIntDataPropertyValue (const std::string &key, bool &isNull) |
| Teamcenter::IntVector | getIntDataPropertyValues (const std::string &key) |
| lis0lisfmwrk::AbstractResource * | getLocalResourcePropertyValue (const std::string &key) |
| std::vector < lis0lisfmwrk::AbstractResource * > | getLocalResourcePropertyValues (const std::string &key) |
| std::string | getNamespacePrefix (const std::string &url, bool &isNull) |
| std::map< std::string, std::string > | getNamespaces () |
| std::string | getNamespaceURL (const std::string &prefix, bool &isNull) |
| std::map< std::string, lis0lisfmwrk::Property * > | getProperties () |
| lis0lisfmwrk::Property * | getProperty (const std::string &key) |
| std::string | getResourcePropertyValue (const std::string &key) |
| std::vector< std::string > | getResourcePropertyValues (const std::string &key) |
| std::string | getSimpleStringPropertyValue (const std::string &key) |
| std::string | getStringDataPropertyValue (const std::string &key, bool &isNull) |
| std::vector< std::string > | getStringDataPropertyValues (const std::string &key) |
| std::string | getType () |
| std::vector< std::string > | getTypes () |
| std::string | getXmlLiteralPropertyValue (const std::string &key) |
| void | setAbout (const std::string &about) |
| void | setTypes (const std::vector< std::string > &types) |
| void | updateNameSpacePrefix (const std::string &oldPrefix, const std::string &newPrefix, const std::string &prefixValue) |
| virtual | ~AbstractResource () |
Protected Attributes | |
| std::string | m_about |
| std::map< std::string, lis0lisfmwrk::Property * > | m_extendedProperties |
| std::map< std::string, std::string > | m_namespaceMap |
| std::map< std::string, lis0lisfmwrk::Property * > | m_properties |
| std::vector< std::string > | m_types |
Private Member Functions | |
| AbstractResource (const AbstractResource &) | |
| AbstractResource & | operator= (const AbstractResource &) |
Definition at line 46 of file AbstractResource.hxx.
| lis0lisfmwrk::AbstractResource::AbstractResource | ( | ) |
Constructor
|
virtual |
Destructor
|
private |
Copy Constructor
|
virtual |
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void lis0lisfmwrk::AbstractResource::addLocalResourcePropertyValue | ( | lis0lisfmwrk::AbstractResource * | value, |
| const std::string & | key | ||
| ) |
Adds local resource property to the property map
| [in] | value | Local resource property value |
| [in] | key | Resource property name with prefix |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IResource.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| lis0lisfmwrk::AbstractResource* lis0lisfmwrk::AbstractResource::getLocalResourcePropertyValue | ( | const std::string & | key | ) |
Retrieves the the local resource property from the property map for a given key
| [in] | key | Resource property name with prefix |
| std::vector<lis0lisfmwrk::AbstractResource*> lis0lisfmwrk::AbstractResource::getLocalResourcePropertyValues | ( | const std::string & | key | ) |
Retrieves the local resource properties from the property map for a given key
| [in] | key | Resource property name with prefix |
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
Implements lis0lisfmwrk::IExtendedResource.
|
virtual |
|
private |
Assignment Operator
|
virtual |
Implements lis0lisfmwrk::IResource.
|
virtual |
| void lis0lisfmwrk::AbstractResource::updateNameSpacePrefix | ( | const std::string & | oldPrefix, |
| const std::string & | newPrefix, | ||
| const std::string & | prefixValue | ||
| ) |
|
protected |
Defines about URL
Definition at line 309 of file AbstractResource.hxx.
|
protected |
Defines the extended property map, and its key is prefixed name string
Definition at line 324 of file AbstractResource.hxx.
|
protected |
Defines the namespace map, and its key is prefix, and its value is URL string
Definition at line 329 of file AbstractResource.hxx.
|
protected |
Defines the property map, and its key is prefixed name string
Definition at line 319 of file AbstractResource.hxx.
|
protected |
Defines type URI vector
Definition at line 314 of file AbstractResource.hxx.