2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAStreamWriter.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#include "COLLADASWBaseInputElement.h"
12
#include "COLLADASWConstants.h"
14
#include "COLLADABUUtils.h"
20
//---------------------------------------------------------------
21
void BaseInputElement::add()
23
mSW->openElement ( mElementName );
25
if ( !mNodeId.empty() )
26
mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_ID, mNodeId );
28
if ( !mNodeName.empty() )
29
mSW->appendAttribute ( CSWC::CSW_ATTRIBUTE_NAME, mNodeName );
36
} //namespace COLLADASW