sdSession Class Reference
Detailed Description
The sdSession class manages the sdNameSpace objects in a session. There is one and only one sdSession instance in any given process.
The sdSession::getNameSpace function verifies that all dependent namespaces of the specified namespace have already been added to the session. The getNameSpace function also recursively initializes the dependent namespaces if necessary. This means that namespaces can be added to the session independent of the order of dependencies. In addition, namespaces are initialized in the correct order in the getNameSpace function.
The removeNameSpace function removes the namespace if there are no dependent namespaces in the session.
Member Typedef Documentation
typedef NameSpaceVector::const_iterator sdSession::NameSpaceConstIter
|
|
typedef std::vector<const sdNameSpace*> sdSession::NameSpaceVector
|
|
Member Function Documentation
|
This function returns a constant iterator that points to the first namespace in this session. |
void sdSession::destroyContents |
( |
sdNameSpace * |
nameSpace |
) |
|
|
|
This function destroys the objects in the specified nameSpace and clears all object maps in the namespace. The namespace is not removed from the session.
- Parameters:
-
- Exceptions:
-
|
|
This function returns a constant iterator that points to the last namespace in this session. |
sdSession * sdSession::get |
( |
|
) |
[static] |
|
|
This returns the singleton object of the oaSession class. |
sdNameSpace * sdSession::getNameSpace |
( |
const std::string & |
name |
) |
const |
|
|
This function returns the sdNameSpace with the specified name. If a namespace does not exist with the specified name, NULL is returned. If the namespace is found, this function verifies that all dependent namespaces also are registered with the session and are initialized.
- Parameters:
-
- Exceptions:
-
|
Friends And Related Function Documentation
friend class sdNameSpace [friend]
|
|
The documentation for this class was generated from the following files:
Return to top of page
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.