ddc
Classes | Functions
Ross.cpp File Reference
#include "StdRoss.h"
#include <stdio.h>
#include "../CommonLib/bserialize.h"
#include "Ross.h"
#include "../CommonLib/util_classes.h"
#include "LessDomItem.h"
#include "TempArticle.h"
Include dependency graph for Ross.cpp:

Classes

struct  TItemStr
 

Functions

size_t get_size_in_bytes (const CStructEntry &t)
 
size_t save_to_bytes (const CStructEntry &i, BYTE *buf)
 
size_t restore_from_bytes (CStructEntry &i, const BYTE *buf)
 
static void EstablishOneToOneCorrespondenceBetweenEntriesAndComments (TRoss &R)
 
size_t get_size_in_bytes (const tm &t)
 
size_t save_to_bytes (const tm &i, BYTE *buf)
 
size_t restore_from_bytes (tm &i, const BYTE *buf)
 
size_t get_size_in_bytes (const TUnitComment &t)
 
size_t save_to_bytes (const TUnitComment &i, BYTE *buf)
 
size_t restore_from_bytes (TUnitComment &i, const BYTE *buf)
 
bool IsTitle (const char *s)
 
tm Str2Tm (string TimeStr)
 
bool IsRubicon (const string &S)
 
bool FindRubicon (vector< CSourceLine > &L, size_t &pos)
 
void DeleteEmptyLines (vector< CSourceLine > &L)
 
int NumArt (vector< CSourceLine > &L)
 
bool GetValue (string Pair, string FldName, string &Value)
 
void CutComments (vector< CSourceLine > &L)
 
void AddMessage (string Message, int LineNo, string &Messages)
 

Function Documentation

◆ get_size_in_bytes() [1/3]

size_t get_size_in_bytes ( const CStructEntry t)
inline

◆ save_to_bytes() [1/3]

size_t save_to_bytes ( const CStructEntry i,
BYTE buf 
)
inline

◆ restore_from_bytes() [1/3]

size_t restore_from_bytes ( CStructEntry i,
const BYTE buf 
)
inline

◆ EstablishOneToOneCorrespondenceBetweenEntriesAndComments()

static void EstablishOneToOneCorrespondenceBetweenEntriesAndComments ( TRoss R)
static

References TRoss::InsertUnitComment(), TRoss::m_UnitComments, and TRoss::m_Units.

Referenced by TRoss::ReadUnitComments().

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

◆ get_size_in_bytes() [2/3]

size_t get_size_in_bytes ( const tm &  t)
inline

References get_size_in_bytes().

Here is the call graph for this function:

◆ save_to_bytes() [2/3]

size_t save_to_bytes ( const tm &  i,
BYTE buf 
)
inline

References get_size_in_bytes(), and save_to_bytes().

Here is the call graph for this function:

◆ restore_from_bytes() [2/3]

size_t restore_from_bytes ( tm &  i,
const BYTE buf 
)
inline

References get_size_in_bytes(), and restore_from_bytes().

Here is the call graph for this function:

◆ get_size_in_bytes() [3/3]

size_t get_size_in_bytes ( const TUnitComment t)
inline

References AuthorNameSize, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, and UnitCommentSize.

Here is the call graph for this function:

◆ save_to_bytes() [3/3]

size_t save_to_bytes ( const TUnitComment i,
BYTE buf 
)
inline

◆ restore_from_bytes() [3/3]

size_t restore_from_bytes ( TUnitComment i,
const BYTE buf 
)
inline

◆ IsTitle()

bool IsTitle ( const char *  s)
inline

Referenced by TRoss::InsertDomItem().

Here is the caller graph for this function:

◆ Str2Tm()

tm Str2Tm ( string  TimeStr)

Referenced by TRoss::SetUnitModifTimeStr().

Here is the caller graph for this function:

◆ IsRubicon()

bool IsRubicon ( const string &  S)

Referenced by FindRubicon(), and NumArt().

Here is the caller graph for this function:

◆ FindRubicon()

bool FindRubicon ( vector< CSourceLine > &  L,
size_t &  pos 
)

References IsRubicon().

Referenced by CDictionary::ImportFromText().

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

◆ DeleteEmptyLines()

void DeleteEmptyLines ( vector< CSourceLine > &  L)

References Trim().

Referenced by CDictionary::ImportFromText().

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

◆ NumArt()

int NumArt ( vector< CSourceLine > &  L)

References IsRubicon().

Referenced by CDictionary::ImportFromText().

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

◆ GetValue()

bool GetValue ( string  Pair,
string  FldName,
string &  Value 
)

References StringTokenizer::get_rest(), and Trim().

Referenced by CDictionary::ProcessOneArticle().

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

◆ CutComments()

void CutComments ( vector< CSourceLine > &  L)

Referenced by CDictionary::ImportFromText().

Here is the caller graph for this function:

◆ AddMessage()

void AddMessage ( string  Message,
int  LineNo,
string &  Messages 
)

References Format(), and Trim().

Referenced by CDictionary::ProcessOneArticle().

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