CifParentChild Class Reference

#include <CifParentChild.h>

Inherits ParentChild.

Inheritance diagram for CifParentChild:

Inheritance graph
[legend]
Collaboration diagram for CifParentChild:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CifParentChild (Block &block)
 CifParentChild (Block &block, ISTable *parChildTableP)
virtual ~CifParentChild ()
int CheckParentChild (Block &block, ISTable &catTable, std::ostringstream &log)
void WriteGroupTables (Block &block)

Protected Member Functions

void GetParentCifItems (std::vector< std::string > &parCifItems, const std::string &cifItemName)

Private Member Functions

void Init (Block &block)
ISTable * CreateKeysTableOld (const std::vector< std::string > &cifItemNames, std::map< std::string, unsigned int > &maxKeyGroups)
void FillKeysTableOld (ISTable &keysTable, const std::vector< std::string > &cifItemNames, std::map< std::string, unsigned int > &maxKeyGroups)
void BuildOldTables (const std::vector< std::string > &cats, const std::vector< std::vector< std::string > > &items)
void BuildNewTables (const std::vector< std::string > &cats, const std::vector< std::vector< std::string > > &items)
void FilterMissingItems (std::vector< std::vector< std::string > > &parParKeys, std::vector< std::vector< std::string > > &comboComboKeys, const std::vector< std::string > &cifItemNames)
unsigned int LastGroupNum (const std::string &childCat)

Private Attributes

ISTable * _parChildTableP
ISTable * _inParChildGroupP
ISTable * _inParChildGroupListP

Constructor & Destructor Documentation

CifParentChild::CifParentChild ( Block &  block  ) 

CifParentChild::CifParentChild ( Block &  block,
ISTable *  parChildTableP 
)

CifParentChild::~CifParentChild (  )  [virtual]


Member Function Documentation

void CifParentChild::BuildNewTables ( const std::vector< std::string > &  cats,
const std::vector< std::vector< std::string > > &  items 
) [private]

void CifParentChild::BuildOldTables ( const std::vector< std::string > &  cats,
const std::vector< std::vector< std::string > > &  items 
) [private]

int CifParentChild::CheckParentChild ( Block &  block,
ISTable &  catTable,
std::ostringstream &  log 
)

ISTable* CifParentChild::CreateKeysTableOld ( const std::vector< std::string > &  cifItemNames,
std::map< std::string, unsigned int > &  maxKeyGroups 
) [private]

void CifParentChild::FillKeysTableOld ( ISTable &  keysTable,
const std::vector< std::string > &  cifItemNames,
std::map< std::string, unsigned int > &  maxKeyGroups 
) [private]

void CifParentChild::FilterMissingItems ( std::vector< std::vector< std::string > > &  parParKeys,
std::vector< std::vector< std::string > > &  comboComboKeys,
const std::vector< std::string > &  cifItemNames 
) [private]

void CifParentChild::GetParentCifItems ( std::vector< std::string > &  parCifItems,
const std::string &  cifItemName 
) [protected, virtual]

Implements ParentChild.

void CifParentChild::Init ( Block &  block  )  [private]

unsigned int CifParentChild::LastGroupNum ( const std::string &  childCat  )  [private]

void CifParentChild::WriteGroupTables ( Block &  block  ) 


Member Data Documentation

ISTable* CifParentChild::_inParChildGroupListP [private]

ISTable* CifParentChild::_inParChildGroupP [private]

ISTable* CifParentChild::_parChildTableP [private]


The documentation for this class was generated from the following files:
Generated on Thu Sep 29 09:19:22 2011 for cif-file-v1.1.0 by  doxygen 1.4.7