int CconvCDedRosenFileData::CDedRosenFileData_to_OuPropertiesText( const CDedRosenFileData* pCDedRosenFileData , OuPropertiesText::CNodeContainer* pCNodeContainer ) { LogMsg( "CDedRosenFileData_to_CdConnectedString()" ) ; int iRv = 0 ; // FileType if ( iRv >= 0 ) { pCNodeContainer->setValue( nameFileType , getFileType() ) ; } //1.Rosen if ( iRv >= 0 ){ Ou<CDirectory> pCDirectory = OuNew<CDirectory>( new CDirectory( nameRosen ) ) ; CconvCentDed aConv ; int iResult = aConv.CentDedRosen_To_OuPropertiesText( pCDedRosenFileData->getCentDedRosen() , pCDirectory->getCNodeContainer() ) ; // - -11 ; // Ekimei が指定されていません。 // - -22 ; // Ekijikokukeisiki の値が不正です。 // - -32 ; // Ekikibo の値が不正です。 // - -111 ; // Syubetsumei が指定されていません。 // - -152 ; // DiagramSenStyle の値が不正です。 // - -212 ; // DiagramEkiatsukai の値が不正です。 if ( iResult < 0 ) { // - -11 ; // Ekimei が指定されていません。 // - -22 ; // Ekijikokukeisiki の値が不正です。 // - -32 ; // Ekikibo の値が不正です。 // - -111 ; // Syubetsumei が指定されていません。 // - -152 ; // DiagramSenStyle の値が不正です。 // - -212 ; // DiagramEkiatsukai の値が不正です。 iRv = iResult ; } else { pCNodeContainer->insert( pCDirectory ) ; } } //2.DispProp LogMsg( "CDedRosenFileData_to_CdConnectedString()1" ) ; if ( iRv >= 0 ) { Ou<CDirectory> pCDirectory = OuNew<CDirectory>( new CDirectory( nameDispProp ) ) ; CconvCdDedDispProp aCconvCdDedDispProp ; int iResult = aCconvCdDedDispProp.toOuPropertiesText( pCDedRosenFileData->getCdDedDispProp() , pCDirectory->getCNodeContainer() ) ; // 現在は負の数が返されることはありません。 if ( iResult < 0 ) { assert( false ) ; } else { pCNodeContainer->insert( pCDirectory ) ; } } LogMsg( "CDedRosenFileData_to_CdConnectedString()=%d" , iRv ) ; return ( iRv ) ; }