◆ CIccIt8Parser()
CIccIt8Parser::CIccIt8Parser |
( |
| ) |
|
|
inline |
std::ifstream * m_f
Definition IccCmmConfig.cpp:891
References m_f.
◆ ~CIccIt8Parser()
CIccIt8Parser::~CIccIt8Parser |
( |
| ) |
|
|
inline |
◆ findTokenLine()
bool CIccIt8Parser::findTokenLine |
( |
std::vector< std::string > & |
line, |
|
|
const char * |
szToken |
|
) |
| |
|
inline |
882 {
884 if (line[0] == szToken)
885 break;
886 }
887 return false;
888 }
bool parseNextLine(std::vector< std::string > &line)
Definition IccCmmConfig.cpp:874
References parseNextLine().
Referenced by CIccCfgColorData::fromIt8().
◆ isEOF()
bool CIccIt8Parser::isEOF |
( |
| ) |
|
|
inline |
◆ open()
bool CIccIt8Parser::open |
( |
const char * |
szFilename | ) |
|
|
inline |
◆ parseLine()
bool CIccIt8Parser::parseLine |
( |
std::vector< std::string > & |
line | ) |
|
|
inline |
841 {
842 line.clear();
844 return false;
845 std::string str;
846
847 int c = 0;
850 if (c < 0) {
851 if (str.size())
852 line.push_back(str);
853 if (!line.size())
854 return false;
855 break;
856 }
857 else if (c == '\n')
858 continue;
859 else if (c == '\r') {
860 line.push_back(str);
861 break;
862 }
863 else if (c == '\t') {
864 line.push_back(str);
865 str.clear();
866 }
867 else {
868 str += c;
869 }
870 }
871 return true;
872 }
bool isEOF()
Definition IccCmmConfig.cpp:840
References isEOF(), and m_f.
Referenced by parseNextLine().
◆ parseNextLine()
bool CIccIt8Parser::parseNextLine |
( |
std::vector< std::string > & |
line | ) |
|
|
inline |
◆ m_f
std::ifstream* CIccIt8Parser::m_f |
|
protected |
The documentation for this class was generated from the following file: