Package gen :: Package lib :: Module notetype :: Class NoteType
[frames] | no frames]

Class NoteType

source code


Instance Methods
 
__init__(self, value=None)
Create a new type, initialize the value from one of several possible states.
source code
list
get_ignore_list(self, exception)
Return a list of the types to ignore and not include in default lists.
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
  GENERAL = 1
  RESEARCH = 2
  TRANSCRIPT = 3
  PERSON = 4
  ATTRIBUTE = 5
  ADDRESS = 6
  ASSOCIATION = 7
  LDS = 8
  FAMILY = 9
  EVENT = 10
  EVENTREF = 11
  SOURCE = 12
  SOURCEREF = 13
  PLACE = 14
  REPO = 15
  REPOREF = 16
  MEDIA = 17
  MEDIAREF = 18
  CHILDREF = 19
  PERSONNAME = 20
  SOURCE_TEXT = 21
  CITATION = 22
  REPORT_TEXT = 23
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)

get_ignore_list(self, exception)

source code 

Return a list of the types to ignore and not include in default lists.

Exception is a sublist of types that may not be ignored

Parameters:
  • exception (list) - list of integer values corresponding with types that have to be excluded from the ignore list
Returns: list
list of integers corresponding with the types to ignore when showing a list of different NoteType's