Classes | |
| class | IniDict |
| Parses a INI file and offers its structure as a dictionary. More... | |
| class | IniParser |
| Basic SUSEtags parser. More... | |
| class | LibXMLHelper |
| class | ParseException |
| class | ParserProgress |
| class | RepoFileReader |
| class | TagParser |
| Basic SUSEtags parser. More... | |
| class | XMLParserError |
| class | XMLNodeIteratorBase |
| class | XMLNodeIterator |
Namespaces | |
| namespace | plaindir |
| namespace | susetags |
| namespace | xmlstore |
| namespace | yum |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const IniDict &obj) |
| static void | repositories_in_file (const Pathname &file, const RepoFileReader::ProcessRepo &callback, const ProgressData::ReceiverFnc &progress) |
| std::ostream & | operator<< (std::ostream &str, const RepoFileReader &obj) |
| std::ostream & | operator<< (std::ostream &str, const TagParser::Tag &obj) |
| std::ostream & | operator<< (std::ostream &str, const TagParser::SingleTag &obj) |
| std::ostream & | operator<< (std::ostream &str, const TagParser::MultiTag &obj) |
| bool | helperParseStartTag (TagParser::Tag &tag_r, const char *&begin_r) |
Parse a tag NAME[.EXT]:from begin_r. | |
| int | ioread (void *context, char *buffer, int bufferLen) |
| Internal function to read from the input stream. | |
| int | ioclose (void *context) |
| Internal function to finish reading. | |
| std::ostream & | operator<< (std::ostream &out, const XMLParserError &error) |
| std::ostream& zypp::parser::operator<< | ( | std::ostream & | str, | |
| const IniDict & | obj | |||
| ) |
Definition at line 145 of file IniDict.cc.
References zypp::parser::IniDict::entriesBegin(), zypp::parser::IniDict::entriesEnd(), zypp::parser::IniDict::sectionsBegin(), and zypp::parser::IniDict::sectionsEnd().
| static void zypp::parser::repositories_in_file | ( | const Pathname & | file, | |
| const RepoFileReader::ProcessRepo & | callback, | |||
| const ProgressData::ReceiverFnc & | progress | |||
| ) | [static] |
List of RepoInfo's from a file.
| file | pathname of the file to read. |
Definition at line 34 of file RepoFileReader.cc.
References zypp::RepoInfo::addBaseUrl(), zypp::parser::IniDict::entriesBegin(), zypp::parser::IniDict::entriesEnd(), ERR, MIL, zypp::parser::IniDict::sectionsBegin(), zypp::parser::IniDict::sectionsEnd(), zypp::RepoInfo::setAlias(), zypp::RepoInfo::setAutorefresh(), zypp::RepoInfo::setEnabled(), zypp::RepoInfo::setFilepath(), zypp::RepoInfo::setGpgCheck(), zypp::RepoInfo::setGpgKeyUrl(), zypp::RepoInfo::setMirrorListUrl(), zypp::RepoInfo::setName(), zypp::RepoInfo::setPath(), and zypp::RepoInfo::setType().
Referenced by zypp::parser::RepoFileReader::RepoFileReader().
| std::ostream& zypp::parser::operator<< | ( | std::ostream & | str, | |
| const RepoFileReader & | obj | |||
| ) |
Definition at line 102 of file RepoFileReader.cc.
| std::ostream& zypp::parser::operator<< | ( | std::ostream & | str, | |
| const TagParser::Tag & | obj | |||
| ) | [related] |
Definition at line 47 of file TagParser.cc.
References zypp::parser::TagParser::Tag::dataLength, zypp::parser::TagParser::Tag::dataStart, zypp::parser::TagParser::Tag::lineNo, zypp::parser::TagParser::Tag::modifier, and zypp::parser::TagParser::Tag::name.
| std::ostream& zypp::parser::operator<< | ( | std::ostream & | str, | |
| const TagParser::SingleTag & | obj | |||
| ) | [related] |
| std::ostream& zypp::parser::operator<< | ( | std::ostream & | str, | |
| const TagParser::MultiTag & | obj | |||
| ) | [related] |
| bool zypp::parser::@299::helperParseStartTag | ( | TagParser::Tag & | tag_r, | |
| const char *& | begin_r | |||
| ) | [inline, static] |
Parse a tag NAME[.EXT]:from begin_r.
If a tag was found, update tag_r and advance begin_r to point behind the :.
Definition at line 145 of file TagParser.cc.
References zypp::parser::TagParser::Tag::modifier, and zypp::parser::TagParser::Tag::name.
Referenced by zypp::parser::TagParser::parse().
| int zypp::parser::@317::ioread | ( | void * | context, | |
| char * | buffer, | |||
| int | bufferLen | |||
| ) | [static] |
Internal function to read from the input stream.
This feeds the xmlTextReader used in the XMLNodeIterator.
| context | points to the istream to read from | |
| buffer | is to be filled with what's been read | |
| bufferLen | max memory bytes to read |
Definition at line 41 of file XMLNodeIterator.cc.
References xml_assert.
| int zypp::parser::@317::ioclose | ( | void * | context | ) | [static] |
Internal function to finish reading.
This is required by the xmlTextReader API, but not needed since the stream will be created when the istream object vanishes.
| context | points to the istream to read from |
Definition at line 60 of file XMLNodeIterator.cc.
| std::ostream & zypp::parser::operator<< | ( | std::ostream & | out, | |
| const XMLParserError & | error | |||
| ) |
Definition at line 117 of file XMLNodeIterator.cc.
References zypp::parser::XMLParserError::docColumn(), zypp::parser::XMLParserError::docLine(), zypp::parser::XMLParserError::msg(), and zypp::parser::XMLParserError::severity().
1.5.3