FdoIdentifier Class Reference

The FdoIdentifier class derives from FdoExpression and represents an identifier, such as a class name or property name. Identifiers can be just a name or they can be scoped to a particular context. For example, consider a Person class that has a DataProperty called "Name" and a ClassProperty called "Address". The Address class has DataProperties "Street", "City", and "Zip Code". When manipulating instances of a Person, the "Name" property can be referred to by the property name "Name". The "City" property is scoped inside the "Address" property, hence must be referred to by the property name "Address.City". More...

#include <Identifier.h>

Inherits FdoExpression.

Inherited by FdoComputedIdentifier.

List of all members.


Public Member Functions

FDO_API FdoStringGetName ()
 Gets just the name of the identifier, with any scope stripped off.
FDO_API FdoStringGetSchemaName ()
 Gets the schema name part of the identifier.
FDO_API FdoString ** GetScope (FdoInt32 &length)
 Gets the scope of the identifier as an array of strings.
FDO_API FdoStringGetText ()
 Gets the full text of the identifier.
virtual FDO_API void Process (FdoIExpressionProcessor *p)
 Overrides FdoExpression.Process to pass the FdoIdentifier to the appropriate expression processor operation.
FDO_API void SetText (FdoString *value)
 Sets the full text of the identifier.
virtual FDO_API FdoStringToString ()
 Returns the well defined text representation of this expression.

Static Public Member Functions

static FDO_API FdoIdentifierCreate (FdoString *text)
 Constructs an instance of an identifier using the specified arguments.
static FDO_API FdoIdentifierCreate ()
 Constructs a default instance of an identifier.

Detailed Description

The FdoIdentifier class derives from FdoExpression and represents an identifier, such as a class name or property name. Identifiers can be just a name or they can be scoped to a particular context. For example, consider a Person class that has a DataProperty called "Name" and a ClassProperty called "Address". The Address class has DataProperties "Street", "City", and "Zip Code". When manipulating instances of a Person, the "Name" property can be referred to by the property name "Name". The "City" property is scoped inside the "Address" property, hence must be referred to by the property name "Address.City".

Definition at line 38 of file Identifier.h.


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