ddc
|
#include "StdRoss.h"
#include <stdio.h>
#include "../CommonLib/bserialize.h"
#include "Ross.h"
#include "../CommonLib/util_classes.h"
#include "LessDomItem.h"
#include "TempArticle.h"
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) |
|
inline |
References CStructEntry::__dummy, AuthorNameSize, EntryStrSize, CStructEntry::m_EntryId, CStructEntry::m_LastCortegeNo, CStructEntry::m_MeanNum, and CStructEntry::m_StartCortegeNo.
Referenced by get_size_in_bytes(), restore_from_bytes(), and save_to_bytes().
|
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, and CStructEntry::m_StartCortegeNo.
Referenced by save_to_bytes().
|
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, and CStructEntry::m_StartCortegeNo.
Referenced by restore_from_bytes().
|
static |
References TRoss::InsertUnitComment(), TRoss::m_UnitComments, and TRoss::m_Units.
Referenced by TRoss::ReadUnitComments().
|
inline |
|
inline |
|
inline |
|
inline |
References AuthorNameSize, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, and UnitCommentSize.
|
inline |
References AuthorNameSize, TUnitComment::Comments, TUnitComment::Editor, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, save_to_bytes(), and UnitCommentSize.
|
inline |
References AuthorNameSize, TUnitComment::Comments, TUnitComment::Editor, get_size_in_bytes(), TUnitComment::m_EntryId, TUnitComment::modif_tm, restore_from_bytes(), and UnitCommentSize.
|
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().
int NumArt | ( | vector< CSourceLine > & | L | ) |
References IsRubicon().
Referenced by CDictionary::ImportFromText().
bool GetValue | ( | string | Pair, |
string | FldName, | ||
string & | Value | ||
) |
References StringTokenizer::get_rest(), and 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().