---------------------------------------------------------------
| 17 | |
| 18 | //--------------------------------------------------------------- |
| 19 | void BaseElement::add() |
| 20 | { |
| 21 | mSW->openElement ( mElementName ); |
| 22 | |
| 23 | if ( !mNodeId.empty() ) |
| 24 | mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_ID, mNodeId ); |
| 25 | |
| 26 | if ( !mNodeName.empty() ) |
| 27 | mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_NAME, mNodeName ); |
| 28 | |
| 29 | mSW->closeElement(); |
| 30 | } |
| 31 | |
| 32 | } //namespace COLLADASW |
nothing calls this directly
no test coverage detected