OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | List of all members
ossimShapeDatabaseField Class Reference

#include <ossimShapeDatabase.h>

Public Member Functions

ossimString fieldTypeAsString () const
 

Public Attributes

ossimString theName
 
int theWidth
 
int theDecimals
 
DBFFieldType theFieldType
 
ossimString theValue
 

Detailed Description

Definition at line 15 of file ossimShapeDatabase.h.

Member Function Documentation

◆ fieldTypeAsString()

ossimString ossimShapeDatabaseField::fieldTypeAsString ( ) const

Definition at line 10 of file ossimShapeDatabase.cpp.

11 {
12  switch(theFieldType)
13  {
14  case FTString:
15  {
16  return "String";
17  }
18  case FTInteger:
19  {
20  return "Integer";
21  }
22  case FTDouble:
23  {
24  return "Double";
25  }
26  default:
27  {
28  return "Unknown";
29  }
30  };
31 
32  return "";
33 
34 }

Member Data Documentation

◆ theDecimals

int ossimShapeDatabaseField::theDecimals

Definition at line 22 of file ossimShapeDatabase.h.

Referenced by ossimShapeDatabase::getRecord().

◆ theFieldType

DBFFieldType ossimShapeDatabaseField::theFieldType

Definition at line 23 of file ossimShapeDatabase.h.

Referenced by ossimShapeDatabase::getRecord().

◆ theName

ossimString ossimShapeDatabaseField::theName

Definition at line 20 of file ossimShapeDatabase.h.

Referenced by ossimShapeDatabase::getRecord().

◆ theValue

ossimString ossimShapeDatabaseField::theValue

Definition at line 24 of file ossimShapeDatabase.h.

Referenced by ossimShapeDatabase::getRecord().

◆ theWidth

int ossimShapeDatabaseField::theWidth

Definition at line 21 of file ossimShapeDatabase.h.

Referenced by ossimShapeDatabase::getRecord().


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