|
Passwordfile library 5.2.1
C++ library to read/write passwords from/to encrypted files
|
The exception that is thrown when a parsing error occurs. More...
#include <entry.h>
Public Member Functions | |
| AccountEntry () | |
| AccountEntry (const std::string &label, NodeEntry *parent=nullptr) | |
| Constructs a new account entry with the specified label and parent. | |
| AccountEntry (std::istream &stream) | |
| Constructs a new account entry which is deserialized from the specified stream. | |
| AccountEntry (const AccountEntry &other) | |
| Constructs a copy of the another entry. | |
| ~AccountEntry () override | |
| Destroys the entry. | |
| EntryType | type () const override |
| Returns the type of the entry. | |
| const std::vector< Field > & | fields () const |
| std::vector< Field > & | fields () |
| void | make (std::ostream &stream) const override |
| Serializes the entry to the specified stream. | |
| AccountEntry * | clone () const override |
| Clones the entry. | |
| void | accumulateStatistics (EntryStatistics &stats) const override |
| Accumulates the statistics for this account entry and its fields. | |
| Public Member Functions inherited from Io::Entry | |
| virtual | ~Entry () |
| Destroys the entry. | |
| Entry & | operator= (const Entry &other)=delete |
| const std::string & | label () const |
| Returns the label. | |
| void | setLabel (const std::string &label) |
| Sets the label. | |
| void | makeLabelUnique () |
| Internally called to make the entry's label unique within the parent. | |
| NodeEntry * | parent () const |
| Returns the parent entry. | |
| void | setParent (NodeEntry *parent, int index=-1) |
| Sets the parent for the entry. | |
| int | index () const |
| Returns the index of the entry within its parent. | |
| bool | isIndirectChildOf (const NodeEntry *entry) const |
| Returns an indication whether the instance is an indirect child of the specified entry. | |
| std::list< std::string > | path () const |
| Returns the path of the entry. | |
| void | path (std::list< std::string > &res) const |
| Stores to path of the entry in the specified list of string. | |
| EntryStatistics | computeStatistics () const |
| Computes statistics for this entry. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Io::Entry | |
| static Entry * | parse (std::istream &stream) |
| Parses an entry from the specified stream. | |
| static bool | denotesNodeEntry (std::uint8_t version) |
| static constexpr EntryType | denotedEntryType (std::uint8_t version) |
| Protected Member Functions inherited from Io::Entry | |
| Entry (const std::string &label={}, NodeEntry *parent=nullptr) | |
| Constructs a new entry with the specified label and parent. | |
| Entry (const Entry &other) | |
| Constructs a copy of another entry. | |
| Protected Attributes inherited from Io::Entry | |
| std::string | m_extendedData |
| Io::AccountEntry::AccountEntry | ( | const std::string & | label, |
| NodeEntry * | parent = nullptr ) |
| Io::AccountEntry::AccountEntry | ( | std::istream & | stream | ) |
| Io::AccountEntry::AccountEntry | ( | const AccountEntry & | other | ) |
|
override |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
overridevirtual |
|
inlineoverridevirtual |