Realm C++ SDK Version v2.2.0
|
Public Types | |
using | value_type = std::string |
using | reference = char_reference |
using | const_reference = const_char_reference |
Public Member Functions | |
std::string | detach () const |
managed & | operator= (std::string &&v) |
managed & | operator= (const std::string &v) |
managed & | operator= (const char *v) |
reference | at (size_t idx) |
accesses the specified character with bounds checking | |
reference | operator[] (size_t idx) |
accesses the specified character | |
const_reference | front () const |
accesses the first character | |
reference | front () |
const_reference | back () const |
accesses the last character | |
reference | back () |
char_pointer | data () |
returns a pointer to the first character of a string | |
const_char_pointer | data () const |
const_char_pointer | c_str () const |
returns a non-modifiable standard C character array version of the string | |
operator std::string_view () const =delete | |
returns a non-modifiable string_view into the entire string | |
operator std::string () const | |
size_t | size () const noexcept |
void | clear () noexcept |
void | push_back (char c) |
managed & | append (const std::string &) |
appends additional characters to the string | |
managed & | operator+= (const std::string &) |
appends additional characters to the string | |
void | pop_back () |
removes the last character from the string. | |
rbool | operator== (const std::string &rhs) const noexcept |
rbool | operator== (const char *rhs) const noexcept |
rbool | operator!= (const std::string &rhs) const noexcept |
rbool | operator!= (const char *rhs) const noexcept |
rbool | contains (const std::string &s, bool case_sensitive=true) const noexcept |
rbool | empty () const noexcept |
managed_base ()=default | |
managed_base (const managed_base &other) | |
managed_base (managed_base &&other) | |
managed_base & | operator= (const managed_base &other) |
managed_base & | operator= (managed_base &&other) |
template<typename T > | |
managed_base & | operator= (const T &v) |
Public Member Functions inherited from realm::managed_base | |
void | assign (internal::bridge::obj *obj, internal::bridge::realm *realm, internal::bridge::col_key &&key) |
void | assign (internal::bridge::obj *obj, internal::bridge::realm *realm, const internal::bridge::col_key &key) |
template<typename T > | |
managed_base & | operator= (const T &v) |
void | prepare_for_query (internal::bridge::realm *realm, const internal::bridge::table &table, const std::string_view &col_name, realm::rbool *query_builder) |
Friends | |
struct | char_reference |
struct | const_char_reference |
Additional Inherited Members | |
Public Attributes inherited from realm::managed_base | |
internal::bridge::obj * | m_obj = nullptr |
internal::bridge::realm * | m_realm = nullptr |
internal::bridge::col_key | m_key |
rbool * | m_rbool_query = nullptr |
Static Public Attributes inherited from realm::managed_base | |
static constexpr bool | is_object = false |
Protected Member Functions inherited from realm::managed_base | |
managed_base (const managed_base &other) | |
managed_base & | operator= (const managed_base &other) |
managed_base (managed_base &&other) | |
managed_base & | operator= (managed_base &&other) |