sdObjectType Class Reference


Public Methods

 sdObjectType (sdObjectTypeEnum valueType)
 sdObjectType (const std::string &name)
 ~sdObjectType ()
const std::string & getName () const
 operator sdObjectTypeEnum () const

Detailed Description

The sdObjectType class is the wrapper class for sdObjectTypeEnum values. sdObjectTypeEnum values define the different types of schema definition objects that can be created.

See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers.

enum sdObjectTypeEnum
 

Enumeration values:
sdcValueObjectType  "Value"
sdcAttributeObjectType  "Attribute"
sdcRelationshipObjectType  "Relationship"
sdcObjectObjectType  "Object"


Constructor & Destructor Documentation

sdObjectType::sdObjectType sdObjectTypeEnum    valueType [inline]
 

This sdObjectType constructor takes an sdObjectTypeEnum value as an argument.

Parameters:
valueType An sdObjectTypeEnum value.

sdObjectType::sdObjectType const std::string &    name
 

This sdObjectType constructor takes an std::string name as an argument.

Parameters:
name The string name.
Exceptions:
sdcInvalidObjectTypeName 

sdObjectType::~sdObjectType   [inline]
 

This is the sdObjectType destructor.


Member Function Documentation

const std::string & sdObjectType::getName   const
 

This function returns the name of this sdObjectType.

sdObjectType::operator sdObjectTypeEnum   const [inline]
 

This operator casts this sdObjectType object into its sdObjectTypeEnum value.


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

Return to top of page