DictParentChild.h
Go to the documentation of this file.
//$$FILE$$
//$$VERSION$$
//$$DATE$$
//$$LICENSE$$
#ifndef DICTPARENTCHILD_H
#define DICTPARENTCHILD_H
#include <string>
#include <vector>
#include <rcsb/ISTable.h>
#include <rcsb/DictObjCont.h>
#include <rcsb/DictDataInfo.h>
#include <rcsb/ParentChild.h>
class DictParentChild : public ParentChild
{
public:
DictParentChild(const DictObjCont& dictObjCont, DictDataInfo& dictDataInfo);
virtual ~DictParentChild();
const DictObjCont& GetDictObjCont();
protected:
const DictObjCont& _dictObjCont;
DictDataInfo& _dictDataInfo;
void GetParentCifItems(std::vector<std::string>& parCifItems,
const std::string& cifItemName);
private:
void FillGroupTable(ISTable& groupTable);
void FillGroupListTable(ISTable& groupListTable, ISTable& groupTable);
};
#endif