ObjectBox C and C++ API  4.0.3
obx::RelationStandalone< SourceEntityT, TargetEntityT > Class Template Reference

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

#include <objectbox.hpp>

Public Member Functions

constexpr RelationStandalone (obx_schema_id id) noexcept
 
obx_schema_id id () const
 

Protected Attributes

const obx_schema_id id_
 standalone relation ID More...
 

Detailed Description

template<typename SourceEntityT, typename TargetEntityT>
class obx::RelationStandalone< SourceEntityT, TargetEntityT >

Carries to-many relation information when used in the entity-meta ("underscore") class.

Constructor & Destructor Documentation

◆ RelationStandalone()

template<typename SourceEntityT , typename TargetEntityT >
constexpr obx::RelationStandalone< SourceEntityT, TargetEntityT >::RelationStandalone ( obx_schema_id  id)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ id()

template<typename SourceEntityT , typename TargetEntityT >
obx_schema_id obx::RelationStandalone< SourceEntityT, TargetEntityT >::id ( ) const
inline

Member Data Documentation

◆ id_

template<typename SourceEntityT , typename TargetEntityT >
const obx_schema_id obx::RelationStandalone< SourceEntityT, TargetEntityT >::id_
protected

standalone relation ID