pygds/structure.py

14 lines
382 B
Python
Raw Normal View History

2019-07-04 22:04:04 +02:00
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 = []