paramxx  1.0.7
ParTxt Class Reference

A class to handle the Param library specific string manipulation. More...

#include <ParTxt.h>

Public Member Functions

 ParTxt (char *str=NULL) throw ( ParFileException )
 
void init_ParTxt (char *str=NULL) throw ( ParFileException )
 
 operator char * () const
 
 operator char ** () const
 
char * get_token (size_t n) throw ( ParFileException )
 
void print (ostream &os)
 

Static Public Member Functions

static void verify_mode (const string &str) throw ( ParFileException )
 

Static Public Attributes

static int restore =0
 

Protected Attributes

char * buffer
 
char ** buffer_argv
 
size_t num_tokens
 

Friends

ostream & operator<< (ostream &os, ParTxt &par)
 This operator outputs the contents of the object. More...
 
ostream & operator<< (ostream &os, ParTxt *par)
 This operator outputs the contents of the object. More...
 

Detailed Description

A class to handle the Param library specific string manipulation.

Member Function Documentation

◆ verify_mode()

void ParTxt::verify_mode ( const string &  str)
throw (ParFileException
)
static

Check to see if `mode' is one of the followig options: a, b, h, H, l

Friends And Related Function Documentation

◆ operator<< [1/2]

ostream& operator<< ( ostream &  os,
ParTxt par 
)
friend

This operator outputs the contents of the object.

◆ operator<< [2/2]

ostream& operator<< ( ostream &  os,
ParTxt par 
)
friend

This operator outputs the contents of the object.


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