-----------------------------------
| 16 | |
| 17 | // ----------------------------------- |
| 18 | void TechniqueHint::add( StreamWriter* sw ) |
| 19 | { |
| 20 | sw->openElement( CSWC::CSW_ELEMENT_TECHNIQUE_HINT ); |
| 21 | |
| 22 | if ( !mPlatform.empty() ) |
| 23 | sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_PLATFORM, mPlatform ); |
| 24 | |
| 25 | sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_REF, mRefNC ); |
| 26 | |
| 27 | if ( !mProfileNC.empty() ) |
| 28 | sw->appendAttribute ( CSWC::CSW_ATTRIBUTE_PROFILE, mProfileNC ); |
| 29 | |
| 30 | sw->closeElement (); |
| 31 | } |
| 32 | |
| 33 | // ----------------------------------- |
| 34 | InstanceEffect::InstanceEffect( |
no test coverage detected