GnuCash 7574033+
Loading...
Searching...
No Matches
gnc::GUID Struct Reference

Public Member Functions

 GUID (boost::uuids::uuid const &) noexcept
 GUID (GncGUID const &) noexcept
 GUID (GUID const &) noexcept=default
GUID & operator= (GUID &&) noexcept
 operator GncGUID () const noexcept
std::string to_string () const noexcept
auto begin () const noexcept -> decltype(implementation.begin())
auto end () const noexcept -> decltype(implementation.end())
bool operator< (GUID const &) noexcept

Static Public Member Functions

static GUID create_random () noexcept
static GUID const & null_guid () noexcept
static GUID from_string (const char *)
static GUID from_string (std::string const &s)
static bool is_valid_guid (const char *)
static bool is_valid_guid (std::string const &s)

Friends

bool operator== (GUID const &, GncGUID const &)
bool operator!= (GUID const &, GUID const &)

Detailed Description

Definition at line 37 of file guid.hpp.

Member Function Documentation

◆ from_string()

GUID gnc::GUID::from_string ( std::string const & s)
inlinestatic

Definition at line 53 of file guid.hpp.

53{ return from_string (s.c_str()); };

◆ is_valid_guid()

bool gnc::GUID::is_valid_guid ( std::string const & s)
inlinestatic

Definition at line 55 of file guid.hpp.

55{ return is_valid_guid (s.c_str()); };

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