List of all members.
Member Function Documentation
Geo::OGR::FieldDefn Geo::OGR::FieldDefn::create |
( |
scalar |
name = "unnamed" , |
|
|
scalar |
field_type = 'String' |
|
) |
| |
- Parameters:
-
name | |
field_type | one of field types. Optional. Default is String. |
Usage:
- Returns:
- a new Geo::OGR::FieldDefn object
- Parameters:
-
parameters | named parameters: Name, Type, Justify, Width, Precision |
Usage:
- Returns:
- a new Geo::OGR::FieldDefn object
scalar Geo::OGR::FieldDefn::GetFieldTypeName |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::GetJustify |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::GetName |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::GetNameRef |
( |
| ) |
|
Same as GetName.
- Returns:
scalar Geo::OGR::FieldDefn::GetPrecision |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::GetType |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::GetWidth |
( |
| ) |
|
scalar Geo::OGR::FieldDefn::Justify |
( |
scalar |
justify | ) |
|
Get and/or set the justification
- Parameters:
-
justify | [optional] as string: Undefined, Left, or Right |
- Returns:
- one of Undefined Left Right in non-void context
scalar Geo::OGR::FieldDefn::Name |
( |
scalar |
name | ) |
|
Get and/or set the name
- Parameters:
-
- Returns:
- the name in non-void context
scalar Geo::OGR::FieldDefn::Precision |
( |
scalar |
precision | ) |
|
Get and/or set the precision
- Parameters:
-
- Returns:
- integer in non-void context
hashref Geo::OGR::FieldDefn::Schema |
( |
hash |
parameters | ) |
|
Get the schema or set parts of the schema
- Parameters:
-
parameters | [optional] named parameters: Name, Type, Justify, Width, Precision |
- Returns:
- a reference to a hash whose keys are Name, Type, Justify, Width, and Precision
Geo::OGR::FieldDefn::SetJustify |
( |
scalar |
justify | ) |
|
Geo::OGR::FieldDefn::SetName |
( |
scalar |
name | ) |
|
Geo::OGR::FieldDefn::SetPrecision |
( |
scalar |
precision | ) |
|
Geo::OGR::FieldDefn::SetType |
( |
scalar |
type | ) |
|
Geo::OGR::FieldDefn::SetWidth |
( |
scalar |
width | ) |
|
scalar Geo::OGR::FieldDefn::Type |
( |
scalar |
type | ) |
|
- Parameters:
-
type | [optional] one of field types: Integer, IntegerList, Real, RealList, String, StringList, WideString, WideStringList, Binary, Date, Time, or DateTime (wide strings are not really supported yet) |
- Returns:
- one of field types in non-void context
scalar Geo::OGR::FieldDefn::Width |
( |
scalar |
width | ) |
|
Get and/or set the field width
- Parameters:
-
- Returns:
- integer in non-void context
The documentation for this class was generated from the following file: