mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Make some more functions public, now that they're safe.
This commit is contained in:
@@ -87,9 +87,6 @@ protected:
|
|||||||
boost::ptr_vector<SerializedType> mData;
|
boost::ptr_vector<SerializedType> mData;
|
||||||
std::vector<SOElement*> mType;
|
std::vector<SOElement*> mType;
|
||||||
|
|
||||||
static std::auto_ptr<SerializedType> makeDefaultObject(SerializedTypeID id, const char *name);
|
|
||||||
static std::auto_ptr<SerializedType> makeDeserializedObject(SerializedTypeID id, const char *name,
|
|
||||||
SerializerIterator&);
|
|
||||||
STObject* duplicate() const { return new STObject(*this); }
|
STObject* duplicate() const { return new STObject(*this); }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -164,6 +161,10 @@ public:
|
|||||||
SerializedType* makeFieldPresent(SOE_Field field);
|
SerializedType* makeFieldPresent(SOE_Field field);
|
||||||
void makeFieldAbsent(SOE_Field field);
|
void makeFieldAbsent(SOE_Field field);
|
||||||
|
|
||||||
|
static std::auto_ptr<SerializedType> makeDefaultObject(SerializedTypeID id, const char *name);
|
||||||
|
static std::auto_ptr<SerializedType> makeDeserializedObject(SerializedTypeID id, const char *name,
|
||||||
|
SerializerIterator&);
|
||||||
|
|
||||||
static void unitTest();
|
static void unitTest();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user