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

DBF_EntryDeclaration Class Reference

Info about one Dbase entry type. More...

#include <dbf.h>

Collaboration diagram for DBF_EntryDeclaration:

Collaboration graph
[legend]
List of all members.

Public Methods

 DBF_EntryDeclaration (unsigned char firstChar, std::istream &in, unsigned &offset_in_record, unsigned &index_)
virtual ~DBF_EntryDeclaration ()
const std::string & Name () const
unsigned Fieldlen () const
unsigned Offset () const
unsigned Index () const
bool is_numeric () const
bool is_string () const
void dump (std::ostream &out) const
 DECLARE_STREAM_OP (DBF_EntryDeclaration)
bool operator< (const DBF_EntryDeclaration &other) const

Private Attributes

std::string name
char type
char xtra [4]
unsigned char fieldlen
char right
unsigned offset
unsigned index

Detailed Description

Info about one Dbase entry type.

Definition at line 52 of file dbf.h.


Constructor & Destructor Documentation

DBF_EntryDeclaration unsigned char    firstChar,
std::istream &    in,
unsigned &    offset_in_record,
unsigned &    index_
 

Definition at line 39 of file dbf.cpp.

virtual ~DBF_EntryDeclaration   [inline, virtual]
 

Definition at line 64 of file dbf.h.


Member Function Documentation

const std::string& Name   const [inline]
 

Definition at line 66 of file dbf.h.

unsigned Fieldlen   const [inline]
 

Definition at line 67 of file dbf.h.

Referenced by DBF_EntryDeclaration::dump().

unsigned Offset   const [inline]
 

Definition at line 68 of file dbf.h.

Referenced by DBF_EntryDeclaration::dump().

unsigned Index   const [inline]
 

Definition at line 69 of file dbf.h.

bool is_numeric   const [inline]
 

Definition at line 71 of file dbf.h.

bool is_string   const [inline]
 

Definition at line 72 of file dbf.h.

void dump std::ostream &    out const
 

Definition at line 220 of file dbf.cpp.

DECLARE_STREAM_OP DBF_EntryDeclaration   
 

bool operator< const DBF_EntryDeclaration &    other const [inline]
 

Definition at line 77 of file dbf.h.


Member Data Documentation

std::string name [private]
 

Definition at line 54 of file dbf.h.

Referenced by DBF_EntryDeclaration::dump(), DBF_EntryDeclaration::Name(), and DBF_EntryDeclaration::operator<().

char type [private]
 

Definition at line 55 of file dbf.h.

Referenced by DBF_EntryDeclaration::dump(), DBF_EntryDeclaration::is_numeric(), and DBF_EntryDeclaration::is_string().

char xtra[4] [private]
 

Definition at line 56 of file dbf.h.

unsigned char fieldlen [private]
 

Definition at line 57 of file dbf.h.

Referenced by DBF_EntryDeclaration::Fieldlen().

char right [private]
 

Definition at line 58 of file dbf.h.

unsigned offset [private]
 

Definition at line 59 of file dbf.h.

Referenced by DBF_EntryDeclaration::Offset().

unsigned index [private]
 

Definition at line 60 of file dbf.h.

Referenced by DBF_EntryDeclaration::Index().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen