Prop Struct Reference

#include <property_id.hh>


Public Types

enum  ID {
  RNAME, ANAME, CNAME, ELE,
  RNUM, ANUM, AX, AY,
  AZ, OCC, RTYPE, ISHETATM,
  RBFAC, ABFAC, PEPTIDE, ACHARGE,
  RINDEX, WITHIN, UNDEF, CUSTOM
}
enum  Level { ATOM = 0, RESIDUE = 1, CHAIN = 2, UNSPECIFIED = 3 }
enum  Type { STRING, INT, FLOAT, VEC_DIST }

Public Member Functions

 Prop (ID i, Type t, Level l)
 Prop ()
bool operator== (const Prop &rhs) const
bool operator!= (const Prop &rhs) const
String GetName () const
String GetTypeName () const

Data Fields

ID id
Type type
Level level


Detailed Description

Definition at line 31 of file property_id.hh.


Member Enumeration Documentation

enum ID

Defined properties.

CUSTOM is for GenericFloatProperties. It must always be the last, because it is used as an index to determine in which order the generic properties where specified in the query string. GenericProperties are defined with gapropname, grpropname, gcpropname for the GenericProp 'propname' at the atom, residue and chain level respectively.

Enumerator:
RNAME 
ANAME 
CNAME 
ELE 
RNUM 
ANUM 
AX 
AY 
AZ 
OCC 
RTYPE 
ISHETATM 
RBFAC 
ABFAC 
PEPTIDE 
ACHARGE 
RINDEX 
WITHIN 
UNDEF 
CUSTOM 

Definition at line 41 of file property_id.hh.

enum Level

Enumerator:
ATOM 
RESIDUE 
CHAIN 
UNSPECIFIED 

Definition at line 46 of file property_id.hh.

enum Type

Enumerator:
STRING 
INT 
FLOAT 
VEC_DIST 

Definition at line 50 of file property_id.hh.


Constructor & Destructor Documentation

Prop ( ID  i,
Type  t,
Level  l 
) [inline]

Definition at line 58 of file property_id.hh.

Prop (  )  [inline]

Definition at line 62 of file property_id.hh.


Member Function Documentation

String GetName (  )  const

String GetTypeName (  )  const

bool operator!= ( const Prop rhs  )  const [inline]

Definition at line 71 of file property_id.hh.

bool operator== ( const Prop rhs  )  const [inline]

Definition at line 66 of file property_id.hh.


Field Documentation

ID id

Definition at line 54 of file property_id.hh.

Definition at line 56 of file property_id.hh.

Definition at line 55 of file property_id.hh.


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

Generated on Fri Jul 2 14:23:07 2010 for OpenStructure by  doxygen 1.5.8