Make some more functions public, now that they're safe.

This commit is contained in:
JoelKatz
2012-05-17 23:48:16 -07:00
parent 7019a46db1
commit cd2e8b42ae

View File

@@ -87,9 +87,6 @@ protected:
boost::ptr_vector<SerializedType> mData;
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); }
public:
@@ -164,6 +161,10 @@ public:
SerializedType* makeFieldPresent(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();
};