paludis Version 3.0.2
The one true package mangler
paludis::ConfigFile::Source Class Reference

#include <config_file.hh>

Public Member Functions

const std::string & text () const PALUDIS_ATTRIBUTE((warn_unused_result))
const std::string & filename () const PALUDIS_ATTRIBUTE((warn_unused_result))

Basic operations

 Source (const FSPath &)
 Source (const std::string &)
 Source (std::istream &)
 Source (const Source &)
const Source & operator= (const Source &)

Detailed Description

A source (for example, a file or a string) usable by ConfigFile.

See also
ConfigFile

Member Function Documentation

◆ filename()

const std::string & paludis::ConfigFile::Source::filename ( ) const

Our filename (may be empty), for use by ConfigFile.

References filename(), and PALUDIS_ATTRIBUTE.

Referenced by filename().

◆ text()

const std::string & paludis::ConfigFile::Source::text ( ) const

Our text, for use by ConfigFile.

References PALUDIS_ATTRIBUTE.


The documentation for this class was generated from the following file: