IliAttributePath Class Reference
Schema class.
More...
#include <ilviews/dataccess/schema.h>
List of all members.
Detailed Description
Schema class.
Library: dataccess
The IliAttributePath
class defines objects that hold a sequence of attribute names. It is used to specify an access path from a given schema to a nested schema.
- See also:
- IliSchema
Member Function Documentation
void IliAttributePath::appendAttribute |
( |
const char * |
name |
) |
|
Appends a new attribute name at the end of the path.
- Parameters:
-
| name | The name. It is copied by this member function. |
void IliAttributePath::emit |
( |
IliString & |
dest |
) |
const |
Appends the sequence of attribute names to a string.
- Parameters:
-
| dest | The string. The attribute names are separated by a period (.) character. |
const char* IliAttributePath::getAttributeAt |
( |
IlInt |
idx |
) |
const |
Returns an attribute name.
- Parameters:
-
| idx | The attribute position. |
- Returns:
- The attribute name positioned at
idx
or NULL
if idx
is out of range.
IlInt IliAttributePath::getAttributeCount |
( |
|
) |
const |
Returns the number of attribute names in this attribute path.
- Returns:
- The count.
Compares two paths.
- Returns:
0
if this attribute path has the same sequence of attributes as the path parameter and 1
otherwise.
Assigns this attribute path with another attribute path.
- Parameters:
-
Compares two paths.
- Returns:
1
if this attribute path has the same sequence of attributes as the path parameter and 0
otherwise.
This static member function expects to find a sequence of names, separated by periods (.).
- Parameters:
-
- Returns:
- An attribute path containing this sequence of names.
void IliAttributePath::read |
( |
IL_STDPREF istream & |
input |
) |
|
Reads the attribute path from an input stream.
- Parameters:
-
void IliAttributePath::removeAttribute |
( |
IlInt |
idx |
) |
|
Removes the attribute name.
- Parameters:
-
| idx | The attribute name position. |
void IliAttributePath::write |
( |
IL_STDPREF ostream & |
output |
) |
const |
Writes the definition of an attribute path to an output stream in a form suitable to be read back by the read
member function.
- Parameters:
-
| output | The output stream. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.