#include "StdRoss.h"
#include <stdio.h>
#include "../common/bserialize.h"
#include "Ross.h"
#include "../common/util_classes.h"
#include "LessDomItem.h"
#include "TempArticle.h"
size_t get_size_in_bytes | ( | const CStructEntry & | t | ) | [inline] |
References CStructEntry::__dummy, AuthorNameSize, EntryStrSize, get_size_in_bytes(), CStructEntry::m_EntryId, CStructEntry::m_LastCortegeNo, CStructEntry::m_MeanNum, and CStructEntry::m_StartCortegeNo.
size_t save_to_bytes | ( | const CStructEntry & | i, | |
BYTE * | buf | |||
) | [inline] |
References CStructEntry::__dummy, AuthorNameSize, EntryStrSize, get_size_in_bytes(), CStructEntry::m_AuthorStr, CStructEntry::m_bSelected, CStructEntry::m_EntryId, CStructEntry::m_EntryStr, CStructEntry::m_LastCortegeNo, CStructEntry::m_MeanNum, CStructEntry::m_StartCortegeNo, and save_to_bytes().
size_t restore_from_bytes | ( | CStructEntry & | i, | |
const BYTE * | buf | |||
) | [inline] |
References CStructEntry::__dummy, AuthorNameSize, EntryStrSize, get_size_in_bytes(), CStructEntry::m_AuthorStr, CStructEntry::m_bSelected, CStructEntry::m_EntryId, CStructEntry::m_EntryStr, CStructEntry::m_LastCortegeNo, CStructEntry::m_MeanNum, CStructEntry::m_StartCortegeNo, and restore_from_bytes().
static void EstablishOneToOneCorrespondenceBetweenEntriesAndComments | ( | TRoss & | R | ) | [static] |
References TRoss::InsertUnitComment(), TRoss::m_UnitComments, and TRoss::m_Units.
Referenced by TRoss::ReadUnitComments().
size_t get_size_in_bytes | ( | const tm & | t | ) | [inline] |
size_t save_to_bytes | ( | const tm & | i, | |
BYTE * | buf | |||
) | [inline] |
size_t restore_from_bytes | ( | tm & | i, | |
const BYTE * | buf | |||
) | [inline] |
size_t get_size_in_bytes | ( | const TUnitComment & | t | ) | [inline] |
References AuthorNameSize, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, and UnitCommentSize.
size_t save_to_bytes | ( | const TUnitComment & | i, | |
BYTE * | buf | |||
) | [inline] |
References AuthorNameSize, TUnitComment::Comments, TUnitComment::Editor, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, save_to_bytes(), and UnitCommentSize.
size_t restore_from_bytes | ( | TUnitComment & | i, | |
const BYTE * | buf | |||
) | [inline] |
References AuthorNameSize, TUnitComment::Comments, TUnitComment::Editor, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, restore_from_bytes(), and UnitCommentSize.
bool IsTitle | ( | const char * | s | ) | [inline] |
tm Str2Tm | ( | string | TimeStr | ) |
bool IsRubicon | ( | const string & | S | ) |
bool FindRubicon | ( | vector< CSourceLine > & | L, | |
size_t & | pos | |||
) |
References IsRubicon().
Referenced by CDictionary::ImportFromText().
void DeleteEmptyLines | ( | vector< CSourceLine > & | L | ) |
References Trim().
Referenced by CDictionary::ImportFromText(), and CTempArticle::SetArticleStr().
int NumArt | ( | vector< CSourceLine > & | L | ) |
References IsRubicon().
Referenced by CDictionary::ImportFromText().
bool GetValue | ( | string | Pair, | |
string | FldName, | |||
string & | Value | |||
) |
References Trim().
Referenced by CDictionary::ProcessOneArticle().
void CutComments | ( | vector< CSourceLine > & | L | ) |
void AddMessage | ( | string | Message, | |
int | LineNo, | |||
string & | Messages | |||
) |
References Format(), and Trim().
Referenced by CDictionary::ProcessOneArticle().