Public Member Functions | |
| indri::api::Parameters * | top () |
| void | push (indri::api::Parameters *p) |
| void | pop () |
| pop the parameter stack, deleting the popped element. | |
| void | addKey (const lemur::utility::String &s) |
| void | displayKeys () |
| ~ParamStack () | |
| clean up. | |
Static Public Member Functions | |
| void | clear () |
| Clean up. | |
| ParamStack & | instance () |
| Obtain the singleton instance, instantiating if necessary. | |
Private Member Functions | |
| ParamStack () | |
| private constructor to ensure singleton pattern. | |
Private Attributes | |
| std::stack< indri::api::Parameters * > | params |
| the stack of Parameters. | |
| std::set< std::string > | keys |
| maintain a list of used keys (for ParamDisplay). | |
Static Private Attributes | |
| ParamStack * | _paramStackSingleton = 0 |
| the singleton instance. | |
|
|
clean up.
|
|
|
private constructor to ensure singleton pattern.
|
|
|
Add a parameter name to the list of known parameters.
|
|
|
Clean up.
|
|
|
Write the list of known parameter names to cerr.
|
|
|
Obtain the singleton instance, instantiating if necessary.
|
|
|
pop the parameter stack, deleting the popped element.
|
|
|
|
|
|
|
|
|
the singleton instance.
|
|
|
maintain a list of used keys (for ParamDisplay).
|
|
|
the stack of Parameters.
|
1.3.4