ObjectBox C and C++ API  0.21.0
obx::Property< EntityT, OBXPropertyType_String > Class Template Reference

Carries property information when used in the entity-meta ("underscore") class. More...

#include <objectbox.hpp>

Inheritance diagram for obx::Property< EntityT, OBXPropertyType_String >:
Inheritance graph

Public Member Functions

constexpr Property (obx_schema_id id) noexcept
 
QCStringForString equals (std::string &&value, bool caseSensitive=true) const
 
QCStringForString equals (const std::string &value, bool caseSensitive=true) const
 
QCStringForString notEquals (std::string &&value, bool caseSensitive=true) const
 
QCStringForString notEquals (const std::string &value, bool caseSensitive=true) const
 
QCStringForString lessThan (std::string &&value, bool caseSensitive=true) const
 
QCStringForString lessThan (const std::string &value, bool caseSensitive=true) const
 
QCStringForString lessOrEq (std::string &&value, bool caseSensitive=true) const
 
QCStringForString lessOrEq (const std::string &value, bool caseSensitive=true) const
 
QCStringForString greaterThan (std::string &&value, bool caseSensitive=true) const
 
QCStringForString greaterThan (const std::string &value, bool caseSensitive=true) const
 
QCStringForString greaterOrEq (std::string &&value, bool caseSensitive=true) const
 
QCStringForString greaterOrEq (const std::string &value, bool caseSensitive=true) const
 
QCStringForString contains (std::string &&value, bool caseSensitive=true) const
 
QCStringForString contains (const std::string &value, bool caseSensitive=true) const
 
QCStringForString startsWith (std::string &&value, bool caseSensitive=true) const
 
QCStringForString startsWith (const std::string &value, bool caseSensitive=true) const
 
QCStringForString endsWith (std::string &&value, bool caseSensitive=true) const
 
QCStringForString endsWith (const std::string &value, bool caseSensitive=true) const
 
QCStringArray in (std::vector< std::string > &&values, bool caseSensitive=true) const
 
QCStringArray in (const std::vector< std::string > &values, bool caseSensitive=true) const
 
- Public Member Functions inherited from obx::PropertyTypeless
constexpr PropertyTypeless (obx_schema_id id) noexcept
 
obx_schema_id id () const
 
QC isNull () const
 
QC isNotNull () const
 

Additional Inherited Members

- Protected Attributes inherited from obx::PropertyTypeless
const obx_schema_id id_
 property ID More...
 

Detailed Description

template<typename EntityT>
class obx::Property< EntityT, OBXPropertyType_String >

Carries property information when used in the entity-meta ("underscore") class.

Constructor & Destructor Documentation

◆ Property()

template<typename EntityT >
constexpr obx::Property< EntityT, OBXPropertyType_String >::Property ( obx_schema_id  id)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ contains() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::contains ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ contains() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::contains ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ endsWith() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::endsWith ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ endsWith() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::endsWith ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ equals() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::equals ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ equals() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::equals ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ greaterOrEq() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::greaterOrEq ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ greaterOrEq() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::greaterOrEq ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ greaterThan() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::greaterThan ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ greaterThan() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::greaterThan ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ in() [1/2]

template<typename EntityT >
QCStringArray obx::Property< EntityT, OBXPropertyType_String >::in ( const std::vector< std::string > &  values,
bool  caseSensitive = true 
) const
inline

◆ in() [2/2]

template<typename EntityT >
QCStringArray obx::Property< EntityT, OBXPropertyType_String >::in ( std::vector< std::string > &&  values,
bool  caseSensitive = true 
) const
inline

◆ lessOrEq() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::lessOrEq ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ lessOrEq() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::lessOrEq ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ lessThan() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::lessThan ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ lessThan() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::lessThan ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ notEquals() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::notEquals ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ notEquals() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::notEquals ( std::string &&  value,
bool  caseSensitive = true 
) const
inline

◆ startsWith() [1/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::startsWith ( const std::string &  value,
bool  caseSensitive = true 
) const
inline

◆ startsWith() [2/2]

template<typename EntityT >
QCStringForString obx::Property< EntityT, OBXPropertyType_String >::startsWith ( std::string &&  value,
bool  caseSensitive = true 
) const
inline