Changeset 1032 for branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSepiaComposerBase.cpp
- Timestamp:
- 12/12/07 18:00:42 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Cluster/Window/SortLast/OSGSepiaComposerBase.cpp
r1020 r1032 78 78 */ 79 79 80 81 void SepiaComposerBase::classDescInserter(TypeObject &oType) 82 { 83 FieldDescriptionBase *pDesc = NULL; 84 85 } 80 86 81 87 SepiaComposerBase::TypeObject SepiaComposerBase::_type( … … 105 111 "" 106 112 ); 107 113 108 114 /*------------------------------ get -----------------------------------*/ 109 115 … … 153 159 154 160 //! create a new instance of the class 155 SepiaComposerPtr SepiaComposerBase::create(void) 156 { 157 SepiaComposerPtr fc; 161 SepiaComposerBase::ObjRefPtr 162 SepiaComposerBase::create(void) 163 { 164 ObjRefPtr pFC; 158 165 159 166 if(getClassType().getPrototype() != NullFC) 160 167 { 161 fc = dynamic_cast<SepiaComposer::ObjPtr>(162 getClassType().getPrototype()-> shallowCopy());168 pFC = boost::dynamic_pointer_cast<SepiaComposer>( 169 getClassType().getPrototype()->shallowCopy()); 163 170 } 164 171 165 return fc;172 return pFC; 166 173 } 167 174 … … 176 183 } 177 184 178 FieldContainerPtr SepiaComposerBase::shallowCopy(void) const 179 { 180 SepiaComposerPtr returnValue; 185 FieldContainerRefPtr 186 SepiaComposerBase::shallowCopy(void) const 187 { 188 ObjPtr returnValue; 181 189 182 190 newPtr(returnValue, dynamic_cast<const SepiaComposer *>(this)); 183 191 184 return returnValue;192 return FieldContainerRefPtr(returnValue); 185 193 } 186 194
