ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::DbfField Class Reference

#include <rtkDbf.h>

Detailed Description

Class for the description of a dbase field.

Author
Simon Rit

Definition at line 41 of file rtkDbf.h.

+ Collaboration diagram for rtk::DbfField:

Public Member Functions

 DbfField (std::string name, char type, unsigned char length, short recOffset)
 
short GetLength () const
 
std::string GetName ()
 
short GetRecOffset () const
 
char GetType () const
 

Private Attributes

short m_Length
 
std::string m_Name
 
short m_RecOffset
 
char m_Type
 

Constructor & Destructor Documentation

◆ DbfField()

rtk::DbfField::DbfField ( std::string name,
char type,
unsigned char length,
short recOffset )

Constructor

Member Function Documentation

◆ GetLength()

short rtk::DbfField::GetLength ( ) const
inlinenodiscard

Definition at line 59 of file rtkDbf.h.

References m_Length.

◆ GetName()

std::string rtk::DbfField::GetName ( )
inline

Basic field properties stored in the header of the dbf file

Definition at line 49 of file rtkDbf.h.

References m_Name.

◆ GetRecOffset()

short rtk::DbfField::GetRecOffset ( ) const
inlinenodiscard

Memory offset from beginning of the record

Definition at line 66 of file rtkDbf.h.

References m_RecOffset.

◆ GetType()

char rtk::DbfField::GetType ( ) const
inlinenodiscard

Definition at line 54 of file rtkDbf.h.

References m_Type.

Member Data Documentation

◆ m_Length

short rtk::DbfField::m_Length
private

Definition at line 74 of file rtkDbf.h.

Referenced by GetLength().

◆ m_Name

std::string rtk::DbfField::m_Name
private

Definition at line 72 of file rtkDbf.h.

Referenced by GetName().

◆ m_RecOffset

short rtk::DbfField::m_RecOffset
private

Definition at line 75 of file rtkDbf.h.

Referenced by GetRecOffset().

◆ m_Type

char rtk::DbfField::m_Type
private

Definition at line 73 of file rtkDbf.h.

Referenced by GetType().


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