Package osgeo :: Module gdal :: Class Attribute
[hide private]
[frames] | no frames]

Class Attribute

source code


Proxy of C++ GDALAttributeHS class.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
repr(x)
source code
 
GetName(self, *args)
GetName(Attribute self) -> char const *
source code
 
GetFullName(self, *args)
GetFullName(Attribute self) -> char const *
source code
 
GetTotalElementsCount(self, *args)
GetTotalElementsCount(Attribute self) -> unsigned long long
source code
 
GetDimensionCount(self, *args)
GetDimensionCount(Attribute self) -> size_t
source code
 
GetDimensionsSize(self, *args)
GetDimensionsSize(Attribute self)
source code
 
GetDataType(self, *args)
GetDataType(Attribute self) -> ExtendedDataType
source code
 
ReadAsRaw(self, *args)
ReadAsRaw(Attribute self) -> CPLErr
source code
 
ReadAsString(self, *args)
ReadAsString(Attribute self) -> char const *
source code
 
ReadAsInt(self, *args)
ReadAsInt(Attribute self) -> int
source code
 
ReadAsDouble(self, *args)
ReadAsDouble(Attribute self) -> double
source code
 
ReadAsStringArray(self, *args)
ReadAsStringArray(Attribute self) -> char **
source code
 
ReadAsIntArray(self, *args)
ReadAsIntArray(Attribute self)
source code
 
ReadAsDoubleArray(self, *args)
ReadAsDoubleArray(Attribute self)
source code
 
WriteRaw(self, *args)
WriteRaw(Attribute self, GIntBig nLen) -> CPLErr
source code
 
WriteString(self, *args)
WriteString(Attribute self, char const * val) -> CPLErr
source code
 
WriteStringArray(self, *args)
WriteStringArray(Attribute self, char ** vals) -> CPLErr
source code
 
WriteInt(self, *args)
WriteInt(Attribute self, int val) -> CPLErr
source code
 
WriteDouble(self, *args)
WriteDouble(Attribute self, double val) -> CPLErr
source code
 
WriteDoubleArray(self, *args)
WriteDoubleArray(Attribute self, int nList) -> CPLErr
source code
 
Read(self)
Read an attribute and return it with the most appropriate type
source code
 
Write(self, val) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  thisown = property(lambda x: x.this.own(), lambda x, v: x.this...
  __swig_destroy__ = _gdal.delete_Attribute
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

thisown

Value:
property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc= "The\
 membership flag")