123456789101112131415161718192021222324252627282930313233343536373839 |
- .. _class-reference:
- odML-Base Classes
- =================
- These classes are the core data-structures of odML.
- To sum things up, an odML-Document consists of several Sections.
- Each Section may contain other Sections and Properties.
- Again each Property can have multiple Values.
- The odml Module contains wrappers, that are shortcuts for creating the main objects::
- >>> from odml import Document, Section, Property
- >>> Document(version=0.9, author="Kermit")
- <Doc 0.9 by Kermit (0 sections)>
- Several modules exist to extend the implementation.
- The ones included in the library are those:
- Document
- --------
- .. autoclass:: odml.doc.BaseDocument
- :members:
- :inherited-members:
- :undoc-members:
- Section
- -------
- .. autoclass:: odml.section.BaseSection
- :members:
- :inherited-members:
- :undoc-members:
- Property
- --------
- .. autoclass:: odml.property.BaseProperty
- :members:
- :inherited-members:
- :undoc-members:
|