| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
TeAttributeRep Struct Reference

Attribute physical representation. More...

`#include <TeAttribute.h>`

List of all members.

## Public Member Functions

| TeAttributeRep ()
| Empty constructor.
| TeAttributeRep (const string &name)
| Constructor.
TeAttributeRep & | operator= (const TeAttributeRep &at)
| Operator =.
bool | operator== (const TeAttributeRep &at)
| Operator ==.
bool | operator< (const TeAttributeRep &at) const
| Operator <.

## Public Attributes

string | name_
| attribute name
TeAttrDataType | type_
| attribute type
int | numChar_
| width of an attribute
int | decimals_
| number of decimal digits
bool | isPrimaryKey_
| flag to indicate that the attribute is part of primary key
bool | isAutoNumber_
| flag to indicate that the attribute is auto number
bool | null_
| flag to indicate that attribute can be a null value (true) or not (false)
string | defaultValue_
| default value (without "'")
int | epsgCode_
| for the spatial data types, this attribute stores the epsg number

## Detailed Description

Attribute physical representation.

Examples:

  querierGroupChronon.cpp, querierGroupElement.cpp, querierGroupSpatialRest.cpp, and themeGrouping.cpp.

## Constructor & Destructor Documentation

TeAttributeRep::TeAttributeRep | ( |  | ) | `[inline]`

Empty constructor.

TeAttributeRep::TeAttributeRep | ( | const string & | name | ) | `[inline]`

Constructor.

## Member Function Documentation

bool TeAttributeRep::operator< | ( | const TeAttributeRep & | at | ) | const`[inline]`

Operator <.

TeAttributeRep& TeAttributeRep::operator= | ( | const TeAttributeRep & | at | ) | `[inline]`

Operator =.

bool TeAttributeRep::operator== | ( | const TeAttributeRep & | at | ) | `[inline]`

Operator ==.

## Member Data Documentation

int TeAttributeRep::decimals_

number of decimal digits

Examples:
  createLayer.cpp, and createTable.cpp.

string TeAttributeRep::defaultValue_

default value (without "'")

int TeAttributeRep::epsgCode_

for the spatial data types, this attribute stores the epsg number

bool TeAttributeRep::isAutoNumber_

flag to indicate that the attribute is auto number

bool TeAttributeRep::isPrimaryKey_

flag to indicate that the attribute is part of primary key

Examples:
  createLayer.cpp, createTable.cpp, TePDIRaster2Vector_test.cpp, and TePDISegmentation_test.cpp.

string TeAttributeRep::name_

attribute name

Examples:
  createLayer.cpp, createTable.cpp, TePDIRaster2Vector_test.cpp, TePDISegmentation_test.cpp, and themeGrouping.cpp.

bool TeAttributeRep::null_

flag to indicate that attribute can be a null value (true) or not (false)

int TeAttributeRep::numChar_

width of an attribute

Examples:
  createLayer.cpp, createTable.cpp, TePDIRaster2Vector_test.cpp, and TePDISegmentation_test.cpp.

TeAttrDataType TeAttributeRep::type_

attribute type

Examples:
  createLayer.cpp, createTable.cpp, TePDIRaster2Vector_test.cpp, TePDISegmentation_test.cpp, and themeGrouping.cpp.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeAttribute.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines