ddc
Public Member Functions | Public Attributes | Private Attributes | List of all members
CTempArticle Class Reference

#include <TempArticle.h>

Collaboration diagram for CTempArticle:
Collaboration graph
[legend]

Public Member Functions

 CTempArticle ()
 
const TCortege10GetRossCortege (size_t i) const
 
size_t GetCortegesSize () const
 
const TCortege10GetCortege (size_t i) const
 
string ConstructFldName (BYTE FieldNo, BYTE LeafId, BYTE BracketLeafId)
 
bool IsPartOf (const CTempArticle *Article, bool UseWildCards) const
 
int IntersectByFields (const CTempArticle *Article) const
 
bool AddArticle (const CTempArticle *Article)
 
bool ArticleToText ()
 
bool AddCortegeToVector (CTextField &F)
 
bool CheckCortegeVector ()
 
bool SetArticleStr (const char *s)
 
bool MarkUp ()
 
bool BuildCortegeList ()
 
bool WriteToDictionary ()
 
void ReadFromDictionary (WORD UnitNo, bool ReadOnly)
 
const string & GetArticleStr ()
 

Public Attributes

char m_EntryStr [EntryStrSize]
 
BYTE m_MeanNum
 
WORD m_UnitNo
 
bool m_ReadOnly
 
vector< CTextFieldm_Fields
 
CDictionarym_pRoss
 
vector< TCortege10m_Corteges
 
string m_LastError
 
int m_ErrorLine
 

Private Attributes

string m_ArticleStr
 

Constructor & Destructor Documentation

◆ CTempArticle()

CTempArticle::CTempArticle ( )

Member Function Documentation

◆ GetRossCortege()

const TCortege10 & CTempArticle::GetRossCortege ( size_t  i) const

References TCortegeContainer::GetCortege(), and m_pRoss.

Referenced by GetCortege(), and ReadFromDictionary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCortegesSize()

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(), and WriteToDictionary().

Here is the caller graph for this function:

◆ GetCortege()

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(), and WriteToDictionary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConstructFldName()

string CTempArticle::ConstructFldName ( BYTE  FieldNo,
BYTE  LeafId,
BYTE  BracketLeafId 
)

References ErrUChar, TItemContainer::Fields, and m_pRoss.

Referenced by AddCortegeToVector(), ArticleToText(), and CheckCortegeVector().

Here is the caller graph for this function:

◆ IsPartOf()

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 AreEqual().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IntersectByFields()

int CTempArticle::IntersectByFields ( const CTempArticle Article) const

◆ AddArticle()

bool CTempArticle::AddArticle ( const CTempArticle Article)

◆ ArticleToText()

bool CTempArticle::ArticleToText ( )

◆ AddCortegeToVector()

bool CTempArticle::AddCortegeToVector ( CTextField F)

◆ CheckCortegeVector()

bool CTempArticle::CheckCortegeVector ( )

◆ SetArticleStr()

bool CTempArticle::SetArticleStr ( const char *  s)

References BuildCortegeList(), DeleteEmptyLines(), m_ArticleStr, and MarkUp().

Referenced by CDictionary::ProcessOneArticle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MarkUp()

bool CTempArticle::MarkUp ( )

◆ BuildCortegeList()

bool CTempArticle::BuildCortegeList ( )

References AddCortegeToVector(), m_Corteges, TItemContainer::m_DomItems, m_Fields, m_LastError, m_pRoss, and m_ReadOnly.

Referenced by SetArticleStr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteToDictionary()

bool CTempArticle::WriteToDictionary ( )

◆ ReadFromDictionary()

void CTempArticle::ReadFromDictionary ( WORD  UnitNo,
bool  ReadOnly 
)

◆ GetArticleStr()

const string & CTempArticle::GetArticleStr ( )

References ArticleToText(), and m_ArticleStr.

Here is the call graph for this function:

Member Data Documentation

◆ m_ArticleStr

string CTempArticle::m_ArticleStr
private

◆ m_EntryStr

char CTempArticle::m_EntryStr[EntryStrSize]

Referenced by ReadFromDictionary().

◆ m_MeanNum

BYTE CTempArticle::m_MeanNum

Referenced by ReadFromDictionary().

◆ m_UnitNo

WORD CTempArticle::m_UnitNo

◆ m_ReadOnly

bool CTempArticle::m_ReadOnly

◆ m_Fields

vector<CTextField> CTempArticle::m_Fields

Referenced by BuildCortegeList(), and MarkUp().

◆ m_pRoss

CDictionary* CTempArticle::m_pRoss

◆ m_Corteges

vector<TCortege10> CTempArticle::m_Corteges

◆ m_LastError

string CTempArticle::m_LastError

◆ m_ErrorLine

int CTempArticle::m_ErrorLine

The documentation for this class was generated from the following files: