14 lines
382 B
Python
14 lines
382 B
Python
from datetime import datetime
|
|
|
|
class Structure(object):
|
|
def __init__(self):
|
|
# metainfo
|
|
self.creation_date = datetime.now()
|
|
self.last_mod = datetime.now()
|
|
self.name = "NONAME"
|
|
|
|
# contains all the low level elements
|
|
self.elements = []
|
|
|
|
# contains all sref and aref elements
|
|
self.references = [] |