Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::model::Revisions Struct Reference

#include <Revisions.hpp>

Classes

struct  DefaultValues
 
struct  Keys
 
struct  Revision
 
struct  Sections
 

Public Member Functions

 Revisions ()
 
 Revisions (const Revisions &other)
 
 Revisions (Revisions &&other) noexcept
 
 ~Revisions ()
 
Revisionsoperator= (const Revisions &other)
 
Revisionsoperator= (Revisions &&other) noexcept
 
void load (const iv::file::xml::node &node)
 
void save (iv::file::xml::node &node) const
 
void addRevision (std::string_view version, std::string_view commentary)
 
std::string getLastVersion () const
 
bool isEmpty () const
 

Public Attributes

std::vector< iv::model::Revisions::Revisionm_revisions
 

Constructor & Destructor Documentation

◆ Revisions() [1/3]

iv::model::Revisions::Revisions ( )
default

◆ Revisions() [2/3]

iv::model::Revisions::Revisions ( const Revisions & other)

◆ Revisions() [3/3]

iv::model::Revisions::Revisions ( Revisions && other)
noexcept

◆ ~Revisions()

iv::model::Revisions::~Revisions ( )
default

Member Function Documentation

◆ addRevision()

void iv::model::Revisions::addRevision ( std::string_view version,
std::string_view commentary )

◆ getLastVersion()

std::string iv::model::Revisions::getLastVersion ( ) const
nodiscard

◆ isEmpty()

bool iv::model::Revisions::isEmpty ( ) const
nodiscard

◆ load()

void iv::model::Revisions::load ( const iv::file::xml::node & node)

◆ operator=() [1/2]

Revisions & iv::model::Revisions::operator= ( const Revisions & other)

◆ operator=() [2/2]

Revisions & iv::model::Revisions::operator= ( Revisions && other)
noexcept

◆ save()

void iv::model::Revisions::save ( iv::file::xml::node & node) const

Member Data Documentation

◆ m_revisions

std::vector<iv::model::Revisions::Revision> iv::model::Revisions::m_revisions

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