Teamcenter C++ API Reference  2312
Public Member Functions | Private Member Functions | List of all members
lis0lisfmwrk::IExtendedResource Class Referenceabstract

#include <IExtendedResource.hxx>

Inheritance diagram for lis0lisfmwrk::IExtendedResource:
lis0lisfmwrk::IResource lis0lisfmwrk::AbstractResource

Public Member Functions

virtual void addBoolDataPropertyValue (const bool &value, const std::string &key)=0
 
virtual void addDateTimePropertyValue (const date_t &value, const std::string &key)=0
 
virtual void addDecimalDataPropertyValue (const double &value, const std::string &key)=0
 
virtual void addDoubleDataPropertyValue (const double &value, const std::string &key)=0
 
virtual void addExtendedProperty (lis0lisfmwrk::Property *value, const std::string &key)=0
 
virtual void addFloatDataPropertyValue (const double &value, const std::string &key)=0
 
virtual void addIntDataPropertyValue (const int &value, const std::string &key)=0
 
virtual void addNamespace (const std::string &value, const std::string &key)=0
 
virtual void addProperty (lis0lisfmwrk::Property *value, const std::string &key)=0
 
virtual void addResourcePropertyValue (const std::string &str, const std::string &key)=0
 
virtual void addSimpleStringPropertyValue (const std::string &str, const std::string &key)=0
 
virtual void addStringDataPropertyValue (const std::string &value, const std::string &key)=0
 
virtual void addType (const std::string &type)=0
 
virtual void addXmlLiteralPropertyValue (const std::string &str, const std::string &key)=0
 
virtual std::string getAbout ()=0
 
virtual bool getBoolDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::BoolVector getBoolDataPropertyValues (const std::string &key)=0
 
virtual date_t getDateTimePropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::DateVector getDateTimePropertyValues (const std::string &key)=0
 
virtual double getDecimalDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::DoubleVector getDecimalDataPropertyValues (const std::string &key)=0
 
virtual double getDoubleDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::DoubleVector getDoubleDataPropertyValues (const std::string &key)=0
 
virtual std::map< std::string,
lis0lisfmwrk::Property * > 
getExtendedProperties ()=0
 
virtual lis0lisfmwrk::Property * getExtendedProperty (const std::string &key)=0
 
virtual double getFloatDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::DoubleVector getFloatDataPropertyValues (const std::string &key)=0
 
virtual int getIntDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual Teamcenter::IntVector getIntDataPropertyValues (const std::string &key)=0
 
virtual std::string getNamespacePrefix (const std::string &url, bool &isNull)=0
 
virtual std::map< std::string,
std::string > 
getNamespaces ()=0
 
virtual std::string getNamespaceURL (const std::string &prefix, bool &isNull)=0
 
virtual std::map< std::string,
lis0lisfmwrk::Property * > 
getProperties ()=0
 
virtual lis0lisfmwrk::Property * getProperty (const std::string &key)=0
 
virtual std::string getResourcePropertyValue (const std::string &key)=0
 
virtual std::vector< std::string > getResourcePropertyValues (const std::string &key)=0
 
virtual std::string getSimpleStringPropertyValue (const std::string &key)=0
 
virtual std::string getStringDataPropertyValue (const std::string &key, bool &isNull)=0
 
virtual std::vector< std::string > getStringDataPropertyValues (const std::string &key)=0
 
virtual std::string getType ()=0
 
virtual std::vector< std::string > getTypes ()=0
 
virtual std::string getXmlLiteralPropertyValue (const std::string &key)=0
 
 IExtendedResource ()
 
virtual void setAbout (const std::string &about)=0
 
virtual void setTypes (const std::vector< std::string > &types)=0
 
virtual ~IExtendedResource ()
 

Private Member Functions

 IExtendedResource (const IExtendedResource &)
 
IExtendedResourceoperator= (const IExtendedResource &)
 

Detailed Description

Definition at line 46 of file IExtendedResource.hxx.

Constructor & Destructor Documentation

lis0lisfmwrk::IExtendedResource::IExtendedResource ( )

Contructor

virtual lis0lisfmwrk::IExtendedResource::~IExtendedResource ( )
virtual

Destructor

lis0lisfmwrk::IExtendedResource::IExtendedResource ( const IExtendedResource )
private

Copy Constructor

Member Function Documentation

virtual void lis0lisfmwrk::IExtendedResource::addBoolDataPropertyValue ( const bool &  value,
const std::string &  key 
)
pure virtual

Adds boolean property to the property map

Parameters
[in]strBoolean property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addDateTimePropertyValue ( const date_t &  value,
const std::string &  key 
)
pure virtual

Adds DateTime property to the property map

Parameters
[in]strDateTime property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addDecimalDataPropertyValue ( const double &  value,
const std::string &  key 
)
pure virtual

Adds decimal property to the property map

Parameters
[in]strDecimal property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addDoubleDataPropertyValue ( const double &  value,
const std::string &  key 
)
pure virtual

Adds double property to the property map

Parameters
[in]strDouble property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addExtendedProperty ( lis0lisfmwrk::Property *  value,
const std::string &  key 
)
pure virtual

Adds extended Linked data property to the extended property map of the Resource

Parameters
[in]keyResource property name with prefix
[in]valueResource property to add
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addFloatDataPropertyValue ( const double &  value,
const std::string &  key 
)
pure virtual

Retrieves the float property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
float Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addIntDataPropertyValue ( const int &  value,
const std::string &  key 
)
pure virtual

Adds integer property to the property map

Parameters
[in]strInteger property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addNamespace ( const std::string &  value,
const std::string &  key 
)
pure virtual

Adds namespace URL to the list

Parameters
[in]keyResource namespace key i.e. prefix
[in]valueResource namespace value i.e. URL
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addProperty ( lis0lisfmwrk::Property *  value,
const std::string &  key 
)
pure virtual

Adds Linked data property to the property map

Parameters
[in]keyResource property name with prefix
[in]valueResouce property to add
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addResourcePropertyValue ( const std::string &  str,
const std::string &  key 
)
pure virtual

Adds resource property to the property map

Parameters
[in]strProperty value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addSimpleStringPropertyValue ( const std::string &  str,
const std::string &  key 
)
pure virtual

Adds simple string property to the property map

Parameters
[in]strsimple string property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addStringDataPropertyValue ( const std::string &  value,
const std::string &  key 
)
pure virtual

Adds string property to the property map

Parameters
[in]strString property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addType ( const std::string &  type)
pure virtual

Sets resource type value

Parameters
[in]typesResource type to be set on the resource
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::addXmlLiteralPropertyValue ( const std::string &  str,
const std::string &  key 
)
pure virtual

Adds XML literal property to the property map

Parameters
[in]strXML literal property value of the Resource
[in]keyResource property name with prefix
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IResource::getAbout ( )
pure virtualinherited

Retrieves the rdf:about value set on the resource.

Returns
The rdf::string set on the resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual bool lis0lisfmwrk::IExtendedResource::getBoolDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the boolean property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
boolean Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::BoolVector lis0lisfmwrk::IExtendedResource::getBoolDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the boolean properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
boolean Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual date_t lis0lisfmwrk::IExtendedResource::getDateTimePropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the DateTime property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
DateTime Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::DateVector lis0lisfmwrk::IExtendedResource::getDateTimePropertyValues ( const std::string &  key)
pure virtual

Retrieves the DateTime properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
DateTime Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual double lis0lisfmwrk::IExtendedResource::getDecimalDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the decimal property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
decimal Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::DoubleVector lis0lisfmwrk::IExtendedResource::getDecimalDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the decimal properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
decimal Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual double lis0lisfmwrk::IExtendedResource::getDoubleDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the double property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
double Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::DoubleVector lis0lisfmwrk::IExtendedResource::getDoubleDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the double properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
double Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::map<std::string, lis0lisfmwrk::Property*> lis0lisfmwrk::IExtendedResource::getExtendedProperties ( )
pure virtual

Retrieves all the Extended Linked data properties

Returns
Extended Linked data property map

Implemented in lis0lisfmwrk::AbstractResource.

virtual lis0lisfmwrk::Property* lis0lisfmwrk::IExtendedResource::getExtendedProperty ( const std::string &  key)
pure virtual

Retrieves the extended Linked data property from the extended property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
Linked data property of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual double lis0lisfmwrk::IExtendedResource::getFloatDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the float property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
float Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::DoubleVector lis0lisfmwrk::IExtendedResource::getFloatDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the float properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
float Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual int lis0lisfmwrk::IExtendedResource::getIntDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the integer property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
integer Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual Teamcenter::IntVector lis0lisfmwrk::IExtendedResource::getIntDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the integer properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
integer Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getNamespacePrefix ( const std::string &  url,
bool &  isNull 
)
pure virtual

Retrieves the namespace URL prefix for a given URL

Parameters
[in]urlNamespace URL of the Resource
[in]isNullFlag if output is null or not
Returns
namespace prefix of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::map<std::string, std::string> lis0lisfmwrk::IExtendedResource::getNamespaces ( )
pure virtual

Retrieves the namespace prefix and URL list

Returns
namespace prefix and URl map of the resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getNamespaceURL ( const std::string &  prefix,
bool &  isNull 
)
pure virtual

Retrieves the namespace URL for a given prefix

Parameters
[in]prefixNamespace prefix of the Resource
[in]isNullFlag if output is null or not
Returns
Namespace URL of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::map<std::string, lis0lisfmwrk::Property*> lis0lisfmwrk::IExtendedResource::getProperties ( )
pure virtual

Retrieves all the Linked data properties of the Resource

Returns
Linked data property map of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual lis0lisfmwrk::Property* lis0lisfmwrk::IExtendedResource::getProperty ( const std::string &  key)
pure virtual

Retrieves the Linked data property from the property map

Parameters
[in]keyResource property name with prefix
Returns
Linked data property of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getResourcePropertyValue ( const std::string &  key)
pure virtual

Retrieves the resource property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
string Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::vector<std::string> lis0lisfmwrk::IExtendedResource::getResourcePropertyValues ( const std::string &  key)
pure virtual

Retrieves the resource properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
string Property values of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getSimpleStringPropertyValue ( const std::string &  key)
pure virtual

Retrieves the simple string property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
string Property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getStringDataPropertyValue ( const std::string &  key,
bool &  isNull 
)
pure virtual

Retrieves the string property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
Resource property value string

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::vector<std::string> lis0lisfmwrk::IExtendedResource::getStringDataPropertyValues ( const std::string &  key)
pure virtual

Retrieves the string properties from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
string Property values of the Resource.

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getType ( )
pure virtual

Retrieves the the resource type value

Parameters
[in]typesResource type set on the resource
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::vector<std::string> lis0lisfmwrk::IExtendedResource::getTypes ( )
pure virtual

Retrieves the resource type values

Returns
list of types set on the resource

Implemented in lis0lisfmwrk::AbstractResource.

virtual std::string lis0lisfmwrk::IExtendedResource::getXmlLiteralPropertyValue ( const std::string &  key)
pure virtual

Retrieves the XML literal property from the property map for a given key

Parameters
[in]keyResource property name with prefix
Returns
XML literal property value of the Resource

Implemented in lis0lisfmwrk::AbstractResource.

IExtendedResource& lis0lisfmwrk::IExtendedResource::operator= ( const IExtendedResource )
private

Assignment Operator

virtual void lis0lisfmwrk::IResource::setAbout ( const std::string &  about)
pure virtualinherited

Sets rdf:about value

Parameters
[in]aboutAbout string to be set on the resource
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.

virtual void lis0lisfmwrk::IExtendedResource::setTypes ( const std::vector< std::string > &  types)
pure virtual

Sets resource type values

Parameters
[in]typesResource types to be set on the resource
Returns
void

Implemented in lis0lisfmwrk::AbstractResource.


The documentation for this class was generated from the following file: