CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
conddblib.EnumMetaclass Class Reference
Inheritance diagram for conddblib.EnumMetaclass:

Public Member Functions

def __call__
 
def __getitem__
 
def __init__
 
def __len__
 

Detailed Description

Definition at line 33 of file conddblib.py.

Constructor & Destructor Documentation

def conddblib.EnumMetaclass.__init__ (   cls,
  name,
  bases,
  dct 
)

Definition at line 34 of file conddblib.py.

Member Function Documentation

def conddblib.EnumMetaclass.__call__ (   cls,
  value 
)
Returns the key for this value.

Definition at line 53 of file conddblib.py.

def conddblib.EnumMetaclass.__getitem__ (   cls,
  key 
)
Returns the value for this key (if the key is an integer,
the value is the nth member from the sorted members list).

Definition at line 43 of file conddblib.py.

def conddblib.EnumMetaclass.__len__ (   cls)

Definition at line 40 of file conddblib.py.