19#ifndef CPPREALM_BRIDGE_OBJECT_SCHEMA_HPP
20#define CPPREALM_BRIDGE_OBJECT_SCHEMA_HPP
25#include <cpprealm/internal/bridge/utils.hpp>
30命名空间realm::internal::bridge {
34 枚举 class object_type : uint 8 _t { TopLevel = 0 , Embedded = 0 x 1 , TopLevelAsymmetric = 0 x 2 };
46 const std::vector<property>& properties,
50 操作符 ObjectSchema()
const ;
51 uint 32 _t Table_key();
52 void add_property(
const 属性 &);
54 void set_name(
const std::string& name);
55 std::string get_name()
const ;
56 void set_primary_key(
const std::string&
primary_key );
57 void set_object_type(object_type);
58 属性 property_for_name(
const std::string&);
61 ObjectSchema* get_object_schema();
62 const ObjectSchema* get_object_schema()
const ;
63#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
64 存储::ObjectSchema m_schema[ 1 ];
66 std::shared_ptr<ObjectSchema> m_schema;
定义: object_schema.hpp: 33
定义: managed_primary_key.hpp:30