5#ifndef __I_ATTRIBUTE_EXCHANGING_OBJECT_H_INCLUDED__
6#define __I_ATTRIBUTE_EXCHANGING_OBJECT_H_INCLUDED__
8#include "IReferenceCounted.h"
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:50
An object which is able to serialize and deserialize its attributes into an attributes object.
Definition IAttributeExchangingObject.h:52
virtual void deserializeAttributes(io::IAttributes *in, io::SAttributeReadWriteOptions *options=0)
Reads attributes of the object.
Definition IAttributeExchangingObject.h:63
virtual void serializeAttributes(io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const
Writes attributes of the object.
Definition IAttributeExchangingObject.h:58
Provides a generic interface for attributes and their values and the possiblity to serialize them.
Definition IAttributes.h:42
This namespace provides interfaces for input/output: Reading and writing files, accessing zip archive...
Definition EAttributes.h:11
E_ATTRIBUTE_READ_WRITE_FLAGS
Enumeration flags passed through SAttributeReadWriteOptions to the IAttributeExchangingObject object.
Definition IAttributeExchangingObject.h:21
@ EARWF_FOR_EDITOR
Serialization/Deserializion is done for an editor property box.
Definition IAttributeExchangingObject.h:26
@ EARWF_FOR_FILE
Serialization/Deserializion is done for an xml file.
Definition IAttributeExchangingObject.h:23
@ EARWF_USE_RELATIVE_PATHS
When writing filenames, relative paths should be used.
Definition IAttributeExchangingObject.h:29
Everything in the Irrlicht Engine can be found in this namespace.
Definition Skylicht.h:33
char fschar_t
Type name for character type used by the file system.
Definition irrTypes.h:158
signed int s32
32 bit signed variable.
Definition irrTypes.h:66
struct holding data describing options
Definition IAttributeExchangingObject.h:35
s32 Flags
Combination of E_ATTRIBUTE_READ_WRITE_FLAGS or other, custom ones.
Definition IAttributeExchangingObject.h:43
SAttributeReadWriteOptions()
Constructor.
Definition IAttributeExchangingObject.h:37
const fschar_t * Filename
Optional filename.
Definition IAttributeExchangingObject.h:46