Package gen :: Package lib :: Module attrtype :: Class AttributeType
[frames] | no frames]

Class AttributeType

source code


Instance Methods
 
__init__(self, value=None)
Create a new type, initialize the value from one of several possible states.
source code

Inherited from grampstype.GrampsType: __cmp__, __int__, __str__, get_custom, get_map, get_standard_names, get_standard_xml, is_custom, is_default, serialize, set, set_from_xml_str, unserialize, xml_str

Class Variables
  UNKNOWN = -1
  CUSTOM = 0
  CASTE = 1
  DESCRIPTION = 2
  ID = 3
  NATIONAL = 4
  NUM_CHILD = 5
  SSN = 6
  NICKNAME = 7
  CAUSE = 8
  AGENCY = 9
  AGE = 10
  FATHER_AGE = 11
  MOTHER_AGE = 12
  WITNESS = 13
Method Details

__init__(self, value=None)
(Constructor)

source code 

Create a new type, initialize the value from one of several possible states.

Overrides: grampstype.GrampsType.__init__
(inherited documentation)