Remove property.hpp include from object_schema.hpp
This commit is contained in:
parent
6b43c4ca31
commit
bf3d9bd452
|
@ -17,13 +17,17 @@
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "object_schema.hpp"
|
#include "object_schema.hpp"
|
||||||
|
|
||||||
#include "object_store.hpp"
|
#include "object_store.hpp"
|
||||||
|
#include "property.hpp"
|
||||||
|
|
||||||
#include <realm/group_shared.hpp>
|
#include <realm/group_shared.hpp>
|
||||||
#include <realm/link_view.hpp>
|
#include <realm/link_view.hpp>
|
||||||
|
|
||||||
using namespace realm;
|
using namespace realm;
|
||||||
|
|
||||||
|
ObjectSchema::~ObjectSchema() = default;
|
||||||
|
|
||||||
ObjectSchema::ObjectSchema(Group *group, const std::string &name) : name(name) {
|
ObjectSchema::ObjectSchema(Group *group, const std::string &name) : name(name) {
|
||||||
TableRef tableRef = ObjectStore::table_for_object_type(group, name);
|
TableRef tableRef = ObjectStore::table_for_object_type(group, name);
|
||||||
Table *table = tableRef.get();
|
Table *table = tableRef.get();
|
||||||
|
|
|
@ -22,14 +22,14 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "property.hpp"
|
|
||||||
|
|
||||||
namespace realm {
|
namespace realm {
|
||||||
|
class Property;
|
||||||
class Group;
|
class Group;
|
||||||
|
|
||||||
class ObjectSchema {
|
class ObjectSchema {
|
||||||
public:
|
public:
|
||||||
ObjectSchema() {}
|
ObjectSchema() = default;
|
||||||
|
~ObjectSchema();
|
||||||
|
|
||||||
// create object schema from existing table
|
// create object schema from existing table
|
||||||
// if no table is provided it is looked up in the group
|
// if no table is provided it is looked up in the group
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <realm/group.hpp>
|
#include <realm/group.hpp>
|
||||||
|
|
||||||
#include "object_schema.hpp"
|
#include "object_schema.hpp"
|
||||||
|
#include "property.hpp"
|
||||||
|
|
||||||
namespace realm {
|
namespace realm {
|
||||||
class ObjectSchemaValidationException;
|
class ObjectSchemaValidationException;
|
||||||
|
|
Loading…
Reference in New Issue