sdValueSubType Class Reference


Public Methods

 sdValueSubType (sdValueSubTypeEnum value)
 sdValueSubType (const std::string &name)
 ~sdValueSubType ()
 operator sdValueSubTypeEnum () const
const std::string & getName () const

Detailed Description

The sdValueSubTypeEnum class is a wrapper class that encapsulates sdValueSubTypeEnum values.

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

enum sdValueSubTypeEnum
 

Enumeration values:
sdcLeafValueSubType  "LeafValue"
sdcHierValueSubType  "HierValue"


Constructor & Destructor Documentation

sdValueSubType::sdValueSubType sdValueSubTypeEnum    value [inline]
 

This function constructs an instance of an sdValueSubType object using the specified sdValueSubTypeEnum value.

Parameters:
value An sdValueSubTypeEnum value.

sdValueSubType::sdValueSubType const std::string &    name
 

This function constructs an instance of an sdValueSubType object using the sdValueSubTypeEnum associated with the specified string name. This name must be defined in the legal set of names associated with sdValueSubTypeEnum.

Parameters:
name The name associated with an sdValueSubTypeEnum value.
Exceptions:
sdcInvalidValueSubTypeName 

sdValueSubType::~sdValueSubType   [inline]
 

This is the sdValueSubType destructor.


Member Function Documentation

const std::string & sdValueSubType::getName   const
 

This function returns the string name associated with the encapsulated sdValueSubTypeEnum value.

sdValueSubType::operator sdValueSubTypeEnum   const [inline]
 

This operator casts this sdValueSubType into its corresponding sdValueSubTypeEnum value.


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

Return to top of page