Fcitx
Public Member Functions | Friends | List of all members
fcitx::RawConfig Class Reference

Public Member Functions

std::shared_ptr< RawConfigget (const std::string &path, bool create=false)
 
std::shared_ptr< const RawConfigget (const std::string &path) const
 
bool remove (const std::string &path)
 
void removeAll ()
 
void setValue (std::string value)
 
void setComment (std::string comment)
 
void setLineNumber (unsigned int lineNumber)
 
const std::string & name () const
 
const std::string & comment () const
 
const std::string & value () const
 
unsigned int lineNumber () const
 
bool hasSubItems () const
 
size_t subItemsSize () const
 
std::vector< std::string > subItems () const
 
void setValueByPath (const std::string &path, std::string value)
 
const std::string * valueByPath (const std::string &path) const
 
RawConfigoperator[] (const std::string &path)
 
RawConfigoperator= (std::string value)
 
bool operator== (const RawConfig &other) const
 
bool operator!= (const RawConfig &config) const
 
RawConfigparent () const
 
std::shared_ptr< RawConfigdetach ()
 
bool visitSubItems (std::function< bool(RawConfig &, const std::string &path)> callback, const std::string &path="", bool recursive=false, const std::string &pathPrefix="")
 
bool visitSubItems (std::function< bool(const RawConfig &, const std::string &path)> callback, const std::string &path="", bool recursive=false, const std::string &pathPrefix="") const
 
void visitItemsOnPath (std::function< void(RawConfig &, const std::string &path)> callback, const std::string &path)
 
void visitItemsOnPath (std::function< void(const RawConfig &, const std::string &path)> callback, const std::string &path) const
 

Friends

class RawConfigPrivate
 

Detailed Description

Definition at line 26 of file rawconfig.h.


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