#include <TempArticle.h>
CTempArticle::CTempArticle | ( | ) |
References ErrUnitNo, m_ErrorLine, m_pRoss, m_ReadOnly, and m_UnitNo.
const TCortege10 & CTempArticle::GetRossCortege | ( | size_t | i | ) | const |
References TCortegeContainer::GetCortege(), and m_pRoss.
Referenced by GetCortege(), IsModified(), and ReadFromDictionary().
size_t CTempArticle::GetCortegesSize | ( | ) | const |
References ErrUnitNo, m_Corteges, m_pRoss, m_ReadOnly, m_UnitNo, and TRoss::m_Units.
Referenced by AddArticle(), ArticleToText(), CheckCortegeVector(), IntersectByFields(), IsPartOf(), PutCortegeOnTheRigthPosition(), and WriteToDictionary().
const TCortege10 & CTempArticle::GetCortege | ( | size_t | i | ) | const |
References GetRossCortege(), m_Corteges, m_pRoss, m_ReadOnly, m_UnitNo, and TRoss::m_Units.
Referenced by AddArticle(), ArticleToText(), CheckCortegeVector(), IntersectByFields(), IsPartOf(), PutCortegeOnTheRigthPosition(), and WriteToDictionary().
References ErrUChar, TItemContainer::Fields, and m_pRoss.
Referenced by AddCortegeToVector(), ArticleToText(), and CheckCortegeVector().
bool CTempArticle::IsPartOf | ( | const CTempArticle * | Article, | |
bool | UseWildCards | |||
) | const |
References GetCortege(), GetCortegesSize(), TBasicCortege< MaxNumDom >::IsEqualWithWildCard(), TCortegeContainer::m_MaxNumDom, m_pRoss, and TItemContainer::WildCardDomItemNo.
Referenced by CDictionary::IncludeArticle().
int CTempArticle::IntersectByFields | ( | const CTempArticle * | Article | ) | const |
References GetCortege(), GetCortegesSize(), TBasicCortege< MaxNumDom >::m_BracketLeafId, TBasicCortege< MaxNumDom >::m_FieldNo, and TBasicCortege< MaxNumDom >::m_LeafId.
bool CTempArticle::AddArticle | ( | const CTempArticle * | Article | ) |
References CheckCortegeVector(), TBasicCortege< MaxNumDom >::EqualCortege(), GetCortege(), GetCortegesSize(), m_Corteges, TCortegeContainer::m_MaxNumDom, m_pRoss, and m_ReadOnly.
bool CTempArticle::PutCortegeOnTheRigthPosition | ( | const TCortege10 & | C | ) |
References TItemContainer::Fields, GetCortege(), GetCortegesSize(), TBasicCortege< MaxNumDom >::m_BracketLeafId, m_Corteges, TBasicCortege< MaxNumDom >::m_FieldNo, TBasicCortege< MaxNumDom >::m_LeafId, TBasicCortege< MaxNumDom >::m_LevelId, m_pRoss, and VisualFieldOrder().
Referenced by ReadFromDictionary().
bool CTempArticle::ArticleToText | ( | ) |
References ConstructFldName(), TRoss::CortegeToStr(), ErrUChar, GetCortege(), GetCortegesSize(), TBasicCortege< MaxNumDom >::GetFieldFormat(), m_ArticleStr, TBasicCortege< MaxNumDom >::m_BracketLeafId, TBasicCortege< MaxNumDom >::m_FieldNo, TBasicCortege< MaxNumDom >::m_LeafId, TBasicCortege< MaxNumDom >::m_LevelId, and m_pRoss.
Referenced by GetArticleStr().
bool CTempArticle::AddCortegeToVector | ( | CTextField & | F | ) |
References CTextField::BracketLeafId, ConstructFldName(), CTextField::EndLine, ErrUChar, CTextField::FieldNo, TItemContainer::Fields, Format(), frFormula, GetLine(), CTextField::LeafId, m_ArticleStr, TBasicCortege< MaxNumDom >::m_BracketLeafId, m_Corteges, m_ErrorLine, TBasicCortege< MaxNumDom >::m_FieldNo, m_LastError, TBasicCortege< MaxNumDom >::m_LeafId, TBasicCortege< MaxNumDom >::m_LevelId, m_pRoss, TRoss::ReadFromStr(), TBasicCortege< MaxNumDom >::SetEqual(), and CTextField::StartLine.
Referenced by BuildCortegeList().
bool CTempArticle::CheckCortegeVector | ( | ) |
References ConstructFldName(), TBasicCortege< MaxNumDom >::EqualCortege(), ErrUChar, TItemContainer::Fields, Format(), frOne, GetCortege(), GetCortegesSize(), CDictionary::GetDomItemStrInner(), TBasicCortege< MaxNumDom >::GetItem(), TBasicCortege< MaxNumDom >::GetSignatNo(), TBasicCortege< MaxNumDom >::m_BracketLeafId, m_ErrorLine, TBasicCortege< MaxNumDom >::m_FieldNo, m_LastError, TBasicCortege< MaxNumDom >::m_LeafId, TBasicCortege< MaxNumDom >::m_LevelId, TCortegeContainer::m_MaxNumDom, and m_pRoss.
Referenced by AddArticle(), and WriteToDictionary().
bool CTempArticle::SetArticleStr | ( | const char * | s | ) |
References BuildCortegeList(), DeleteEmptyLines(), m_ArticleStr, and MarkUp().
Referenced by CDictionary::IncludeArticle(), and CDictionary::ProcessOneArticle().
bool CTempArticle::MarkUp | ( | ) |
References CTextField::BracketLeafId, CTextField::EndLine, ErrUChar, CTextField::FieldNo, Format(), TItemContainer::GetFieldNoByFieldStrInner(), CTextField::LeafId, m_ArticleStr, m_ErrorLine, m_Fields, m_LastError, m_pRoss, m_ReadOnly, SplitFldName(), and CTextField::StartLine.
Referenced by CDictionary::IncludeArticle(), and SetArticleStr().
bool CTempArticle::BuildCortegeList | ( | ) |
References AddCortegeToVector(), m_Corteges, TItemContainer::m_DomItems, m_Fields, m_LastError, m_pRoss, and m_ReadOnly.
Referenced by CDictionary::IncludeArticle(), and SetArticleStr().
bool CTempArticle::WriteToDictionary | ( | ) |
References TCortegeContainer::_AddCortege(), TCortegeContainer::_GetCortegesSize(), CheckCortegeVector(), TRoss::DelCorteges(), GetCortege(), GetCortegesSize(), InitialEndPos, InitialStartPos, m_ErrorLine, m_LastError, m_pRoss, m_ReadOnly, m_UnitNo, and TRoss::m_Units.
bool CTempArticle::IsModified | ( | ) | const |
References AreEqual(), GetRossCortege(), m_Corteges, TCortegeContainer::m_MaxNumDom, m_pRoss, m_UnitNo, and TRoss::m_Units.
void CTempArticle::ReadFromDictionary | ( | WORD | UnitNo, | |
bool | VisualOrder, | |||
bool | ReadOnly | |||
) |
References GetRossCortege(), CDictionary::GetUnits(), m_Corteges, CStructEntry::m_EntryStr, m_EntryStr, CStructEntry::m_MeanNum, m_MeanNum, m_pRoss, m_ReadOnly, m_UnitNo, and PutCortegeOnTheRigthPosition().
Referenced by CDictionary::IncludeArticle().
const string & CTempArticle::GetArticleStr | ( | ) |
string CTempArticle::m_ArticleStr [private] |
Referenced by AddCortegeToVector(), ArticleToText(), GetArticleStr(), MarkUp(), and SetArticleStr().
Referenced by ReadFromDictionary().
Referenced by ReadFromDictionary().
Referenced by CTempArticle(), GetCortege(), GetCortegesSize(), IsModified(), ReadFromDictionary(), and WriteToDictionary().
Referenced by AddArticle(), BuildCortegeList(), CTempArticle(), GetCortege(), GetCortegesSize(), MarkUp(), ReadFromDictionary(), and WriteToDictionary().
vector<CTextField> CTempArticle::m_Fields |
Referenced by BuildCortegeList(), and MarkUp().
Referenced by AddArticle(), AddCortegeToVector(), ArticleToText(), BuildCortegeList(), CheckCortegeVector(), ConstructFldName(), CTempArticle(), GetCortege(), GetCortegesSize(), GetRossCortege(), CDictionary::IncludeArticle(), IsModified(), IsPartOf(), MarkUp(), CDictionary::ProcessOneArticle(), PutCortegeOnTheRigthPosition(), ReadFromDictionary(), and WriteToDictionary().
vector<TCortege10> CTempArticle::m_Corteges |
string CTempArticle::m_LastError |
Referenced by AddCortegeToVector(), CheckCortegeVector(), CTempArticle(), MarkUp(), CDictionary::ProcessOneArticle(), and WriteToDictionary().