Clarisse 4.0 SP5b SDK  4.0.0.0.5.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OfSerialOptions Struct Reference

Public Types

enum  Mode {
  MODE_NONE = 0,
  MODE_DEFAULT = 1,
  MODE_COPY = 1 << 1,
  MODE_PASTE = 1 << 2,
  MODE_REFERENCE = 1 << 3,
  MODE_RELOAD = 1 << 4,
  MODE_LOAD = 1 << 5,
  MODE_SAVE_ARCHIVE = 1 << 6,
  MODE_EXPORT_PROJECT = 1 << 7,
  MODE_EXPORT_CTX_DEPS = 1 << 8
}
 
enum  ModePasteAdvanced {
  PASTE_DEFAULT = 0,
  PASTE_ATTR,
  PASTE_ATTR_VALUE,
  PASTE_ATTR_ANIMATION,
  PASTE_ATTR_TEXTURE
}
 
enum  Object {
  OBJECT_NAME_ONLY = 0,
  OBJECT_NAME_PREFIX = 1,
  OBJECT_NAME_SUFFIX = 2
}
 
enum  Reference {
  REFERENCE_PATH_ABSOLUTE,
  REFERENCE_PATH_RELATIVE
}
 

Public Member Functions

 OfSerialOptions (const OfSerialOptions &options)
 
 OfSerialOptions (OfApp &app, const Mode &mode=MODE_DEFAULT)
 
const OfSerialOptionsoperator= (const OfSerialOptions &options)
 
CoreString get_item_path (const CoreString &serial_path) const
 
double get_project_version () const
 
double get_object_framework_version () const
 
void set_project_version (const double &version)
 
void set_object_framework_version (const double &version)
 
void set_nb_load (int nb)
 
void set_use_nb_load (bool state)
 
bool can_load () const
 
void decrement_nb_load () const
 
bool is_crender_legacy_environment () const
 
void set_crender_legacy_environment (bool enable)
 

Static Public Member Functions

static CoreString get_mode_paste_label (const ModePasteAdvanced &id)
 
static void create_default_options (OfApp &app)
 
static const OfSerialOptionsget_default ()
 

Public Attributes

int mode
 
ModePasteAdvanced mode_paste_advanced
 
struct {
CoreString filename
 
file
 
struct {
CoreString file_pdir
 
vars
 
struct {
CoreString default_name
 
CoreString name
 
OfContextcontext
 
root
 
struct {
int name
 
CoreString prefix
 
CoreString suffix
 
object
 
struct {
int reference_path
 
int value_page
 
bool force_group_serialization
 if true, attributes will always be serialized in a group
 
bool skip_value
 value is not serialized even if localized and changed
 
bool dump_value
 value is serialized even if not localized and same as prototype
 
bool compact_custom
 
bool reset_undeserialized_locals
 
int skip_flags
 
attribute
 
struct {
CoreHashTable< CoreString,
OfObject * > 
copies_object
 
CoreHashTable< CoreString,
OfContext * > 
copies_context
 
CoreHashTable< OfObject
*, CoreString
copies_object_inv
 
CoreHashTable< OfContext
*, CoreString
copies_context_inv
 
paste
 
struct {
CoreHashTable< CoreString,
CoreString
dependencies_update
 
OfContextroot
 
export_with_dependencies
 
struct {
CoreHashTable< CoreString,
ParserEntry * > 
project_resources
 
resources