#include <CifParentChild.h>
Inherits ParentChild.
Inheritance diagram for CifParentChild:
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 |
CifParentChild::CifParentChild | ( | Block & | block | ) |
CifParentChild::CifParentChild | ( | Block & | block, | |
ISTable * | parChildTableP | |||
) |
CifParentChild::~CifParentChild | ( | ) | [virtual] |
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 | ) |
ISTable* CifParentChild::_inParChildGroupListP [private] |
ISTable* CifParentChild::_inParChildGroupP [private] |
ISTable* CifParentChild::_parChildTableP [private] |