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

Expander.cpp File Reference

An example file that makes use of ExpandLib. More...

#include "expandlib/expandlib-expandable.h"
#include "expandlib/expandlib-vartype-bool.h"
#include "expandlib/expandlib-vartype-numeric.h"
#include "expandlib/expandlib-vartype-text.h"
#include "expandlib/expandlib-vartype-time.h"
#include "expandlib/expandlib-vartype-date.h"
#include "expandlib/expandlib-vartype-list.h"
#include <iostream>
#include <windows.h>
#include <tchar.h>
#include "tagz.h"

Include dependency graph for Expander.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  std

Vartype typedefs

This was done so I don't have to use such a long name when using these types, as well as to provide an easy way to change the string type.

typedef expvartype_text< strtype > EVText
typedef expvartype_bool< strtype > EVBool
typedef expvartype_numeric<
strtype > 
EVNum
typedef expvartype_time< strtype > EVTime
typedef expvartype_date< strtype > EVDate
typedef expvartype_list< strtype > EVTextList

Typedefs

typedef string strtype

Functions

const T_CHAR * my_TAGFUNC (const T_CHAR *tag, void *p)
int main ()
 The "main" function.


Variables

const int NUMITERATIONS = 1000
 The number of iterations the loop in main has to go through.

map< string, string > tagz_vars


Detailed Description

An example file that makes use of ExpandLib.

Definition in file Expander.cpp.


Typedef Documentation

typedef expvartype_bool<strtype> EVBool
 

Definition at line 43 of file Expander.cpp.

typedef expvartype_date<strtype> EVDate
 

Definition at line 46 of file Expander.cpp.

typedef expvartype_numeric<strtype> EVNum
 

Definition at line 44 of file Expander.cpp.

Referenced by main().

typedef expvartype_text<strtype> EVText
 

Definition at line 42 of file Expander.cpp.

Referenced by main().

typedef expvartype_list<strtype> EVTextList
 

Definition at line 47 of file Expander.cpp.

typedef expvartype_time<strtype> EVTime
 

Definition at line 45 of file Expander.cpp.

typedef string strtype
 

Definition at line 35 of file Expander.cpp.

Referenced by main().


Function Documentation

int main (    ) 
 

The "main" function.

Definition at line 57 of file Expander.cpp.

References EVNum, EVText, NUMITERATIONS, strtype, and tagz_vars.

const T_CHAR * my_TAGFUNC (  const T_CHAR *    tag,
void *    p
) 
 

Definition at line 191 of file Expander.cpp.

References tagz_vars.


Variable Documentation

const int NUMITERATIONS = 1000
 

The number of iterations the loop in main has to go through.

Definition at line 28 of file Expander.cpp.

Referenced by main().

map<string,string> tagz_vars
 

Definition at line 52 of file Expander.cpp.

Referenced by main(), and my_TAGFUNC().


Generated on Tue Feb 4 17:24:14 2003 for ExpandLib by doxygen1.3-rc2