Public Member Functions | Private Member Functions | Private Attributes

OPTIONS_STACK Class Reference

#include <options_stack.h>

Collaboration diagram for OPTIONS_STACK:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OPTIONS_STACK (MEM_POOL *pool)
 ~OPTIONS_STACK (void)
void Init (void)
void Push_Current_Options (void)
void Pop_Current_Options (void)
void Process_Pragma_Options (char *)

Private Member Functions

BOOL Trace (void) const
INT32 str2argv (char *, char ***, MEM_POOL *)

Private Attributes

BOOL _trace
STACK< char * > _options_stack

Detailed Description

Definition at line 56 of file options_stack.h.


Constructor & Destructor Documentation

OPTIONS_STACK::OPTIONS_STACK ( MEM_POOL pool  )  [inline]

Definition at line 65 of file options_stack.h.

References _options_stack, _trace, STACK< T >::Clear(), Get_Trace(), Is_Trace, TFile, TP_MISC, and Trace().

Here is the call graph for this function:

OPTIONS_STACK::~OPTIONS_STACK ( void   )  [inline]

Definition at line 70 of file options_stack.h.


Member Function Documentation

void OPTIONS_STACK::Init ( void   )  [inline]

Definition at line 73 of file options_stack.h.

void OPTIONS_STACK::Pop_Current_Options ( void   ) 
void OPTIONS_STACK::Process_Pragma_Options ( char *  options_string  ) 
void OPTIONS_STACK::Push_Current_Options ( void   ) 

Definition at line 71 of file options_stack.cxx.

References _options_stack, CXX_NEW_ARRAY, STACK< T >::Elements(), Is_Trace, MEM_pu_nz_pool, OPTIONS_SIZE, STACK< T >::Push(), Save_or_restore_options(), TFile, Trace(), and TRUE.

Referenced by main(), and Process_Pragma_Options().

Here is the call graph for this function:

INT32 OPTIONS_STACK::str2argv ( char *  str,
char ***  argv,
MEM_POOL pool 
) [private]

Definition at line 113 of file options_stack.cxx.

References CXX_NEW_ARRAY, fprintf(), len, TFile, and Trace().

Referenced by Process_Pragma_Options().

Here is the call graph for this function:

BOOL OPTIONS_STACK::Trace ( void   )  const [inline, private]

Member Data Documentation

Definition at line 59 of file options_stack.h.

Referenced by OPTIONS_STACK(), Pop_Current_Options(), and Push_Current_Options().

Definition at line 58 of file options_stack.h.

Referenced by OPTIONS_STACK(), and Trace().


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