Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
#include <version_parser.h>
Public Member Functions | |
InfoVersion () | |
InfoVersion (int version) | |
InfoVersion (int version, const std::vector< std::string > &user_define_types) | |
InfoVersion (const InfoVersion &other)=default | |
InfoVersion & | operator= (const InfoVersion &other)=default |
bool | operator== (const InfoVersion &other) const |
int | version () const |
const std::vector< std::string > & | user_define_types () const |
std::string | ToString () const |
bool | CheckType (const std::string &type_str) const |
Static Public Member Functions | |
static Result< std::shared_ptr< const InfoVersion > > | Parse (const std::string &str) noexcept |
InfoVersion is a class provide version information of info.
Definition at line 33 of file version_parser.h.
|
inline |
Default constructor
Definition at line 40 of file version_parser.h.
|
inlineexplicit |
Constructor with version
Definition at line 42 of file version_parser.h.
|
inlineexplicit |
Constructor with version and user defined types.
Definition at line 49 of file version_parser.h.
|
default |
Copy constructor
|
inline |
Check if type is supported by version.
Definition at line 90 of file version_parser.h.
|
inlinedefault |
Copy assignment
|
inline |
Check if two InfoVersion are equal
Definition at line 63 of file version_parser.h.
|
staticnoexcept |
Parse version string to InfoVersion.
Definition at line 107 of file version_parser.cc.
|
inline |
Dump version to string.
Definition at line 77 of file version_parser.h.
|
inline |
Get user defined types
Definition at line 72 of file version_parser.h.
|
inline |
Get version
Definition at line 69 of file version_parser.h.