TagInfo Class Reference

#include <inipat.h>

List of all members.

Public Member Functions

 TagInfo (unsigned int N, char *Text)
 constructor
 TagInfo (const TagInfo &Other)
 copy constructor
 TagInfo (const TagInfo *Other)
 copy from pointer constructor
TagInfooperator= (const TagInfo &Other)
 assignment from other
const char * data ()
 the string of the tag, restricted against changes
char * GetString ()
 this function allows to change the string of the tag
unsigned int GetLineNo ()
 returns the line number where this tag was read from
 ~TagInfo ()
 destructor , releases the memory, allocated for Tag text

Friends

class ConfigObj
class TypeTagIs
class NameIs
ostream & operator<< (ostream &Out, TagInfo &Info)
 output to the stream
ostream & operator<< (ostream &Out, const TagInfo *Info)


Detailed Description

class to store the text line from the configuration section,

Tag is just non empty non-comment line from config file and have not any markup brackets <blahblah> or </blahblah> Also TagInfo stores the line position of the stream where this tag have been read. So the configuration program could print out the line number where the wrong parameter was encountered. The user then can read such output and make corrections


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

doxygen