libept
Functions
ept::debtags::coll::textformat Namespace Reference

Functions

int parseElement (FILE *in, const std::string &pathname, string &item)
 
void parse (FILE *in, const std::string &pathname, Fast &out)
 
int parseElement (FILE *in, const std::string &pathname, std::string &item)
 Parse an element from input. More...
 

Function Documentation

◆ parse()

void ept::debtags::coll::textformat::parse ( FILE *  in,
const std::string &  pathname,
Fast out 
)

◆ parseElement() [1/2]

int ept::debtags::coll::textformat::parseElement ( FILE *  in,
const std::string &  pathname,
string &  item 
)

Referenced by parse().

◆ parseElement() [2/2]

int ept::debtags::coll::textformat::parseElement ( FILE *  in,
const std::string &  pathname,
std::string &  item 
)

Parse an element from input.

Return values
itemThe item found on input
Returns
the trailing separating char, that can be:
  • input::Input::Eof
  • '
    '
  • ':'
  • ','