From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well."
This commit is contained in:
@@ -157,6 +157,11 @@ public:
|
||||
inline void throwException( const std::string& msg );
|
||||
const InputException* getException() const { return _exception.get(); }
|
||||
|
||||
// Property & mask variables
|
||||
ObjectProperty PROPERTY;
|
||||
ObjectMark BEGIN_BRACKET;
|
||||
ObjectMark END_BRACKET;
|
||||
|
||||
protected:
|
||||
inline void checkStream();
|
||||
void setWrapperSchema( const std::string& name, const std::string& properties );
|
||||
|
||||
Reference in New Issue
Block a user