Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

xmli::Stack< T > Class Template Reference

A templated stack class to hold objects created from XML data. More...

#include <Stack.h>

List of all members.

Static Public Member Functions

Stack< T > & Instance ()

Private Member Functions

 Stack ()

Static Private Attributes

Stack< T > * fInstance = 0


Detailed Description

template<class T>
class xmli::Stack< T >

A templated stack class to hold objects created from XML data.

Definition at line 17 of file XMLInterface/Stack.h.


Constructor & Destructor Documentation

template<class T>
xmli::Stack< T >::Stack  )  [inline, private]
 

Definition at line 30 of file XMLInterface/Stack.h.

00030 { }


Member Function Documentation

template<class T>
Stack<T>& xmli::Stack< T >::Instance  )  [inline, static]
 

Only a sigle instance of a stack is allowed per class that makes use of xmli::Stack. Objects that need to pull and push objects into the stack should use xmli::Stack<type>::Instance to get access to the stack.

Definition at line 25 of file XMLInterface/Stack.h.

Referenced by jobc::sequenceBuilder::Build(), cfg::paramBuilder::Build(), jobc::nodeBuilder::Build(), jobc::jobBuilder::Build(), cfg::configBuilder::Build(), evdb::CfgEdit::EditConfig(), gspushf(), gspushi(), gspushTS(), and main().

00025                                 {
00026       if (fInstance==0) fInstance = new Stack<T>; 
00027       return *fInstance; 
00028     }


Member Data Documentation

template<class T>
Stack< T > * xmli::Stack< T >::fInstance = 0 [static, private]
 

Definition at line 34 of file XMLInterface/Stack.h.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 04:45:33 2009 for NOvA Offline by  doxygen 1.3.9.1