Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Init Class Reference

#include <init.h>

Inheritance diagram for Init::

Tag List of all members.

Public Types

typedef std::list< Rangerange_list
typedef range_list::iterator range_list_it
enum  Type {
  INITOPEN, INITCLOSE, INCLUDE, MACROS,
  MENU, IMAGE, FILELINK, FILELIST,
  INTERPRETER, FUNCTIONS, LOCALE, CHARSET,
  DELETE, DEFINE, USER
}
 possible types of the tag. More...


Public Methods

 Init (Line line)
bool operator! () const
 class not a tag?;. More...

Type get_type () const
bool has_range () const
bool has_one_range () const
Range get_first () const
range_list get_range () const
Line get_line ()
 the original line (use this only for warning messages). More...

std::string get_user_name () const
bool is_insert () const
bool is_append () const
bool is_delete () const
bool is_ignore () const
bool is_ignore (bool t)
std::string get_tag ()

Private Methods

void extract_range (const std::string &level)
void strip_list (Strings::string_list &sl)
template<class A> int get_elements (std::list< A > &sl) const

Private Attributes

Type type
range_list ral
std::string user_name
 contains the user name if tag type is USER. More...

bool insert
bool append
bool del
bool ignore

Detailed Description

the <init> Tag


Member Typedef Documentation

typedef std::list<Range> Init::range_list
 

typedef range_list::iterator Init::range_list_it
 


Member Enumeration Documentation

enum Init::Type
 

possible types of the tag.

Enumeration values:
INITOPEN 
INITCLOSE 
INCLUDE 
MACROS 
MENU 
IMAGE 
FILELINK 
FILELIST 
INTERPRETER 
FUNCTIONS 
LOCALE 
CHARSET 
DELETE 
DEFINE 
USER  unknown types are user types.


Constructor & Destructor Documentation

Init::Init Line    line
 


Member Function Documentation

void Init::extract_range const std::string &    level [private]
 

template<class A>
int Init::get_elements std::list< A > &    sl const [inline, private]
 

Range Init::get_first   const [inline]
 

Line Init::get_line   [inline]
 

the original line (use this only for warning messages).

range_list Init::get_range   const [inline]
 

std::string Init::get_tag  
 

Type Init::get_type   const [inline]
 

std::string Init::get_user_name   const [inline]
 

bool Init::has_one_range   const [inline]
 

bool Init::has_range   const [inline]
 

bool Init::is_append   const [inline]
 

bool Init::is_delete   const [inline]
 

bool Init::is_ignore bool    t [inline]
 

bool Init::is_ignore   const [inline]
 

bool Init::is_insert   const [inline]
 

bool Init::operator!   const [inline]
 

class not a tag?;.

Reimplemented from Tag.

void Init::strip_list Strings::string_list   sl [private]
 


Member Data Documentation

bool Init::append [private]
 

bool Init::del [private]
 

bool Init::ignore [private]
 

bool Init::insert [private]
 

is true if an init section should be inserted at a special position at the init list

range_list Init::ral [private]
 

Type Init::type [private]
 

std::string Init::user_name [private]
 

contains the user name if tag type is USER.


The documentation for this class was generated from the following files:
Generated on Tue Nov 20 02:19:53 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001