Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ThemeInfo Class Reference

#include <theme.h>

Public Member Functions

 ThemeInfo ()=default
 
 ThemeInfo (const std::string &path)
 
bool isValid () const
 
const std::string & getName () const
 
const std::string & getPath () const
 
std::string getFullPath () const
 
const XML::DocumentgetDocument () const
 

Private Attributes

std::string name
 
std::string path
 
std::unique_ptr< XML::Documentdoc
 

Detailed Description

Definition at line 49 of file theme.h.

Constructor & Destructor Documentation

◆ ThemeInfo() [1/2]

ThemeInfo::ThemeInfo ( )
default

◆ ThemeInfo() [2/2]

ThemeInfo::ThemeInfo ( const std::string &  path)
explicit

Definition at line 62 of file theme.cpp.

Member Function Documentation

◆ getDocument()

const XML::Document & ThemeInfo::getDocument ( ) const
inline

Definition at line 60 of file theme.h.

◆ getFullPath()

std::string ThemeInfo::getFullPath ( ) const

Definition at line 80 of file theme.cpp.

◆ getName()

const std::string & ThemeInfo::getName ( ) const
inline

Definition at line 57 of file theme.h.

◆ getPath()

const std::string & ThemeInfo::getPath ( ) const
inline

Definition at line 58 of file theme.h.

◆ isValid()

bool ThemeInfo::isValid ( ) const
inline

Definition at line 55 of file theme.h.

Member Data Documentation

◆ doc

std::unique_ptr<XML::Document> ThemeInfo::doc
private

Definition at line 65 of file theme.h.

◆ name

std::string ThemeInfo::name
private

Definition at line 63 of file theme.h.

◆ path

std::string ThemeInfo::path
private

Definition at line 64 of file theme.h.


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