Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
generic.models.Organizational.ComparisonRegistry Class Reference
Inheritance diagram for generic.models.Organizational.ComparisonRegistry:
object

Public Member Functions

def __init__ (self)
 
def Serialize (self, base_path)
 

Static Public Member Functions

def Deserialize (file_name)
 

Public Attributes

 comparisons
 
short int type
 
short int number
 
char name [SIZE_OF_OBJ_NAME]
 
cat_entry star
 

Static Public Attributes

string SERIALIZE_FILENAME = "comparison_registry.pkl"
 

Detailed Description

Definition at line 347 of file Organizational.py.

Constructor & Destructor Documentation

def generic.models.Organizational.ComparisonRegistry.__init__ (   self)

Member Function Documentation

def generic.models.Organizational.ComparisonRegistry.Deserialize (   file_name)
static

Definition at line 357 of file Organizational.py.

References open().

357  def Deserialize(file_name):
358  obj = cPickle.load(open(file_name))
359  if not isinstance(obj, ComparisonRegistry):
360  raise TypeError("Object loaded from alleged ComparisonRegistry file is actually a %s" % type(obj))
361  return obj
362 
363 
364 
procfile open("FD_BRL_v0.txt")
def generic.models.Organizational.ComparisonRegistry.Serialize (   self,
  base_path 
)

Definition at line 353 of file Organizational.py.

References open().

353  def Serialize(self, base_path):
354  cPickle.dump(self, open(os.path.join(base_path, ComparisonRegistry.SERIALIZE_FILENAME), "w"))
355 
procfile open("FD_BRL_v0.txt")

Member Data Documentation

generic.models.Organizational.ComparisonRegistry.comparisons

Definition at line 351 of file Organizational.py.

char object::name
inherited
short int object::number
inherited

Definition at line 115 of file novas.h.

string generic.models.Organizational.ComparisonRegistry.SERIALIZE_FILENAME = "comparison_registry.pkl"
static

Definition at line 348 of file Organizational.py.

cat_entry object::star
inherited

Definition at line 117 of file novas.h.

short int object::type
inherited

Definition at line 114 of file novas.h.


The documentation for this class was generated from the following file: