BALL::CIFFile::Item Class Reference

#include <BALL/FORMAT/CIFFile.h>

List of all members.

Public Member Functions

 Item ()
 Item (const Item &item)
virtual ~Item ()
void clear ()
void addPair (String key, String value)
void startLoop ()
void addTag (String tag)
void addValue (String value)
Index getKeyIndex (String key)
std::ostream & operator>> (std::ostream &os) const

Public Attributes

bool is_loop
std::vector< Stringkeys
std::vector< std::vector
< String > > 
values
std::pair< String, Stringentry

Detailed Description

Nested class for the dataitems of the CIFFile

Definition at line 38 of file CIFFile.h.


Constructor & Destructor Documentation

BALL::CIFFile::Item::Item (  ) 
BALL::CIFFile::Item::Item ( const Item item  ) 
virtual BALL::CIFFile::Item::~Item (  )  [virtual]

Member Function Documentation

void BALL::CIFFile::Item::addPair ( String  key,
String  value 
)
void BALL::CIFFile::Item::addTag ( String  tag  ) 
void BALL::CIFFile::Item::addValue ( String  value  ) 
void BALL::CIFFile::Item::clear (  ) 

Acessors

Index BALL::CIFFile::Item::getKeyIndex ( String  key  ) 

Returns the index of the Item identifier key. If there is no such key, -1 is returned.

std::ostream& BALL::CIFFile::Item::operator>> ( std::ostream &  os  )  const
void BALL::CIFFile::Item::startLoop (  ) 

Member Data Documentation

Stores the tag-value pair in key - value format

Definition at line 69 of file CIFFile.h.

Definition at line 59 of file CIFFile.h.

Stores all loop data indices Stores all raw loop data

Definition at line 64 of file CIFFile.h.

std::vector<std::vector<String> > BALL::CIFFile::Item::values

Stores the loop data per line

Definition at line 66 of file CIFFile.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3