Package gen :: Package lib
[frames] | no frames]

Source Code for Package gen.lib

 1  # 
 2  # Gramps - a GTK+/GNOME based genealogy program 
 3  # 
 4  # Copyright (C) 2000-2006  Donald N. Allingham 
 5  # 
 6  # This program is free software; you can redistribute it and/or modify 
 7  # it under the terms of the GNU General Public License as published by 
 8  # the Free Software Foundation; either version 2 of the License, or 
 9  # (at your option) any later version. 
10  # 
11  # This program is distributed in the hope that it will be useful, 
12  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
13  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
14  # GNU General Public License for more details. 
15  # 
16  # You should have received a copy of the GNU General Public License 
17  # along with this program; if not, write to the Free Software 
18  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
19  # 
20   
21  # $Id: __init__.py 10103 2008-02-24 13:55:55Z acraphae $ 
22   
23  """The core library of GRAMPS objects""" 
24   
25  # Dates 
26  from gen.lib.date import Date, DateError 
27   
28  # Secondary objects 
29  from gen.lib.secondaryobj import SecondaryObject 
30  from gen.lib.address import Address 
31  from gen.lib.location import Location 
32  from gen.lib.attribute import Attribute 
33  from gen.lib.eventref import EventRef 
34  from gen.lib.ldsord import LdsOrd 
35  from gen.lib.mediaref import MediaRef  
36  from gen.lib.name import Name 
37  from gen.lib.reporef import RepoRef 
38  from gen.lib.srcref import SourceRef 
39  from gen.lib.url import Url 
40  from gen.lib.witness import Witness 
41  from gen.lib.childref import ChildRef 
42   
43  # Primary objects 
44  from gen.lib.primaryobj import PrimaryObject 
45  from gen.lib.person import Person 
46  from gen.lib.personref import PersonRef 
47  from gen.lib.family import Family 
48  from gen.lib.event import Event 
49  from gen.lib.place import Place 
50  from gen.lib.src import Source 
51  from gen.lib.mediaobj import MediaObject 
52  from gen.lib.repo import Repository 
53  from gen.lib.note import Note 
54   
55  # These are actually metadata 
56  from gen.lib.genderstats import GenderStats 
57  from gen.lib.researcher import Researcher 
58   
59  # Type classes 
60  from gen.lib.grampstype import GrampsType 
61  from gen.lib.nametype import NameType 
62  from gen.lib.attrtype import AttributeType 
63  from gen.lib.urltype import UrlType 
64  from gen.lib.childreftype import ChildRefType 
65  from gen.lib.repotype import RepositoryType 
66  from gen.lib.eventtype import EventType 
67  from gen.lib.familyreltype import FamilyRelType 
68  from gen.lib.srcmediatype import SourceMediaType 
69  from gen.lib.eventroletype import EventRoleType 
70  from gen.lib.markertype import MarkerType 
71  from gen.lib.notetype import NoteType 
72