#include <Bibliography.h>
CBibliography contains bibliographical information about one corpus file, this information is read from xml, xpathes are defined in options file.
CBibliography::CBibliography | ( | ) |
References m_StartPageInfo, and UnknownPageNumber.
void CBibliography::CleanBibliography | ( | ) |
set all members empty
References m_BiblAttribs, m_DateStr, m_OrigBibl, m_ScanBibl, m_StartPageInfo, and UnknownPageNumber.
Referenced by CConcIndexator::LoadFileIntoGraphan(), CConcXml::LoadXmlAndReadBibliography(), and ReadFromString().
void CBibliography::ReadFromString | ( | const string & | S | ) |
read structure's members from a string
References CleanBibliography(), m_DateStr, m_OrigBibl, m_ScanBibl, and Trim().
Referenced by CConcXml::GetFullBibliographyOfHit().
string CBibliography::WriteToString | ( | ) | const |
write structure's members to a string
References m_DateStr, m_OrigBibl, and m_ScanBibl.
Referenced by CConcXml::AddIndexItem(), and CConcIndexator::IndexMorphXml().
bool CBibliography::ConvertDateToInt | ( | int & | Result | ) | const |
convert m_DateStr to an integer
References _MAKELONG, _MAKEWORD, and m_DateStr.
Referenced by CConcXml::AddIndexItem(), CConcXml::LoadXmlAndReadBibliography(), and CQueryParser::ParseQueryOperators().
string CBibliography::m_OrigBibl |
original bibliography
Referenced by CleanBibliography(), CConcHolder::GenerateOneHitStringJson(), CConcXml::LoadXmlAndReadBibliography(), ReadFromString(), CConcHolder::ShowBibliographyForTable(), CConcHolder::ShowBibliographyForTextOrHtml(), and WriteToString().
string CBibliography::m_ScanBibl |
string CBibliography::m_DateStr |
issue date
Referenced by CleanBibliography(), ConvertDateToInt(), CConcHolder::GenerateOneHitStringJson(), CConcXml::LoadXmlAndReadBibliography(), CQueryParser::ParseQueryOperators(), ReadFromString(), CConcHolder::ShowBibliographyForTable(), CConcHolder::ShowBibliographyForTextOrHtml(), and WriteToString().
starting page
Referenced by CBibliography(), CleanBibliography(), CConcIndexator::IndexTable(), CConcXml::LoadXmlAndReadBibliography(), and CConcIndexator::LoadXmlFile().
vector<string> CBibliography::m_BiblAttribs |
free bibbliographical attributes
Referenced by CConcXml::AddIndexItem(), CleanBibliography(), CConcXml::LoadXmlAndReadBibliography(), and CConcXml::SetFreeBiblAttribsEmpty().