![]() |
KSquare Utilities
|
Class that keeps track of parameter details of a single scanner file. More...
#include <StartStopPoint.h>
Public Types | |
| typedef StartStopPoint * | StartStopPointPtr |
| enum | StartStopType : int { StartStopType::Null, StartStopType::StartPoint, StartStopType::StopPoint, StartStopType::Invalid } |
Public Member Functions | |
| StartStopPoint (kkint32 _scanLineNum, StartStopType _type) | |
| StartStopPoint (const StartStopPoint &entry) | |
| StartStopPoint (const KKStr &s) | |
| ~StartStopPoint () | |
| kkint32 | MemoryConsumedEstimated () const |
| void | ParseTabDelStr (KKStr parser) |
| kkint32 | ScanLineNum () const |
| void | ScanLineNum (const kkint32 _scanLineNum) |
| KKStr | ToTabDelStr () const |
| StartStopType | Type () const |
| void | Type (StartStopType _type) |
| const KKStr & | TypeStr () const |
Static Public Member Functions | |
| static StartStopType | StartStopTypeFromStr (const KKStr &s) |
| static const KKStr & | StartStopTypeToStr (StartStopType t) |
Class that keeps track of parameter details of a single scanner file.
Definition at line 28 of file StartStopPoint.h.
Definition at line 31 of file StartStopPoint.h.
|
strong |
| Enumerator | |
|---|---|
| Null | |
| StartPoint | |
| StopPoint | |
| Invalid | |
Definition at line 33 of file StartStopPoint.h.
| StartStopPoint::StartStopPoint | ( | kkint32 | _scanLineNum, |
| StartStopType | _type | ||
| ) |
Definition at line 50 of file StartStopPoint.cpp.
Referenced by KKLSC::StartStopPointList::AddEntry().
| StartStopPoint::StartStopPoint | ( | const StartStopPoint & | entry | ) |
Definition at line 60 of file StartStopPoint.cpp.
| StartStopPoint::StartStopPoint | ( | const KKStr & | s | ) |
Definition at line 68 of file StartStopPoint.cpp.
References Invalid, and ParseTabDelStr().
Referenced by KKLSC::ScannerFile::LoadIndexFile().
| StartStopPoint::~StartStopPoint | ( | ) |
Definition at line 77 of file StartStopPoint.cpp.
| kkint32 StartStopPoint::MemoryConsumedEstimated | ( | ) | const |
Definition at line 82 of file StartStopPoint.cpp.
Referenced by KKLSC::StartStopPointList::MemoryConsumedEstimated().
| void StartStopPoint::ParseTabDelStr | ( | KKStr | parser | ) |
Definition at line 99 of file StartStopPoint.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::ExtractToken2(), KKB::KKStr::ExtractTokenInt(), and StartStopTypeFromStr().
Referenced by StartStopPoint().
|
inline |
Definition at line 56 of file StartStopPoint.h.
Referenced by KKLSC::StartStopPointList::AddEntry().
|
inline |
Definition at line 60 of file StartStopPoint.h.
|
static |
Definition at line 41 of file StartStopPoint.cpp.
References KKB::KKStr::EqualIgnoreCase(), Invalid, and Null.
Referenced by ParseTabDelStr().
|
static |
| KKStr StartStopPoint::ToTabDelStr | ( | ) | const |
Definition at line 90 of file StartStopPoint.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and TypeStr().
|
inline |
Definition at line 57 of file StartStopPoint.h.
Referenced by KKLSC::StartStopPointList::AddEntry(), and KKLSC::ScannerFile::LoadIndexFile().
|
inline |
Definition at line 61 of file StartStopPoint.h.
Referenced by KKLSC::StartStopPointList::AddEntry().
|
inline |
Definition at line 58 of file StartStopPoint.h.
References StartStopTypeToStr().
Referenced by ToTabDelStr().