sdRelationshipSubType Class Reference


Public Methods

 sdRelationshipSubType (sdRelationshipSubTypeEnum valueType)
 sdRelationshipSubType (const std::string &name)
 ~sdRelationshipSubType ()
 operator sdRelationshipSubTypeEnum () const
const std::string & getName () const

Detailed Description

The sdRelationshipSubType class is an enum wrapper class for sdRelationshipSubTypeEnum values. The subType relates to the object or objects that are allowed for the 'to' part of the relationship. For example, there might be only a single object for the 'to' part of the relationship, or a set of valid objects might be allowed.

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

enum sdRelationshipSubTypeEnum
 

Enumeration values:
sdcSingleRelationshipSubType  "Single"
sdcSetRelationshipSubType  "Set"


Constructor & Destructor Documentation

sdRelationshipSubType::sdRelationshipSubType sdRelationshipSubTypeEnum    valueType [inline]
 

This sdRelationshipSubType constructor takes an sdRelationshipSubTypeEnum value as an argument.

Parameters:
valueType An sdRelationshipSubTypeEnum value.

sdRelationshipSubType::sdRelationshipSubType const std::string &    name
 

This sdRelationshipSubType constructor takes a string name as argument.

Parameters:
name string The name for sdRelationshipSubType.
Exceptions:
sdcInvalidRelationshipSubTypeName 

sdRelationshipSubType::~sdRelationshipSubType   [inline]
 

This is the sdRelationshipSubType destructor.


Member Function Documentation

const std::string & sdRelationshipSubType::getName   const
 

This function returns the name of this sdRelationshipSubType object.

sdRelationshipSubType::operator sdRelationshipSubTypeEnum   const [inline]
 

This operator casts this sdRelationshipSubType object into its sdRelationshipSubTypeEnum value.


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

Return to top of page