void WEXPORT WVList::writeSelf( WObjectFile& p ) { p.writeObject( count() ); for( int i=0; i<count(); i++ ) { p.writeObject( _set[i] ); } }
void WEXPORT MTool::writeSelf( WObjectFile& p ) { WObject::writeSelf( p ); p.writeObject( &_tag ); p.writeObject( &_name ); p.writeObject( &_families ); p.writeObject( &_incTools ); }
void WEXPORT WString::writeSelf( WObjectFile& p ) { WObject::writeSelf( p ); p.writeObject( size() ); if( size() > 0 ) { p.writeObject( _value ); } }
void WEXPORT WRect::writeSelf( WObjectFile &p ) { /***********************************************/ p.writeObject( _x ); p.writeObject( _y ); p.writeObject( _w ); p.writeObject( _h ); }
void WEXPORT MC2Switch::writeSelf( WObjectFile& p ) { MSwitch::writeSelf( p ); p.writeObject( &_on ); for( int i=0; i<SWMODE_COUNT; i++ ) { p.writeObject( _state[i] ); } }
void WEXPORT MAction::writeSelf( WObjectFile& p ) { WObject::writeSelf( p ); p.writeObject( _tool ); // p.writeObject( &_tagMask ); p.writeObject( &_name ); p.writeObject( &_commands ); p.writeObject( &_hint ); }
void WEXPORT MConfig::writeSelf( WObjectFile& p ) { WObject::writeSelf( p ); p.writeObject( &_tools ); p.writeObject( &_rules ); p.writeObject( &_actions ); p.writeObject( &_editor ); p.writeObject( &_browse ); p.writeObject( &_browseMerge ); }
void MComponent::writeSelf( WObjectFile& p ) { p.writeObject( _project ); p.writeObject( &rule()->tag(), FORCE ); WObject::writeSelf( p ); p.writeObject( &_mask ); p.writeObject( _autodepend ); p.writeObject( _autotrack ); p.writeObject( _mode ); p.writeObject( &_before ); p.writeObject( &_after ); p.writeObject( _target ); // write these last p.writeObject( &_items ); }
void WEXPORT MProject::writeSelf( WObjectFile& p ) { if( !_recursing ) { p.writeObject( &_before ); p.writeObject( &_after ); int icount = _components.count(); p.writeObject( icount ); for( int i=0; i<icount; i++ ) { MComponent* comp = (MComponent*)_components[i]; WFileName tgtFile( comp->relFilename() ); p.writeObject( &tgtFile, FORCE ); if( comp->isDirty() ) { if( !tryOpenTargetFile( p.version(), true, comp ) ) { p.setObjOk( false ); } } } _dirty = false; } }
void WEXPORT MItem::writeSelf( WObjectFile& p ) { WFileName::writeSelf( p ); p.writeObject( &_ruleTag ); p.writeObject( &_states ); p.writeObject( &_actionStates ); p.writeObject( _parent ); p.writeObject( _component ); p.writeObject( _expanded ); p.writeObject( _owner ); }
void WEXPORT MState::writeSelf( WObjectFile& p ) { p.writeObject( &_toolTag ); p.writeObject( &_switchTag ); p.writeObject( _mode ); }
void WEXPORT MFamily::writeSelf( WObjectFile& p ) { WObject::writeSelf( p ); p.writeObject( &_name ); p.writeObject( &_switches ); }
void WEXPORT MCState::writeSelf( WObjectFile& p ) { MState::writeSelf( p ); p.writeObject( _state ); }