MCPcopy Create free account
hub / github.com/Grive/grive / AddAttribute

Method AddAttribute

libgrive/src/xml/Node.cc:293–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void Node::AddAttribute( const std::string& name, const std::string& val )
294{
295 assert( m_ptr != 0 ) ;
296 assert( GetType() == element ) ;
297 m_ptr->Add( new Impl( name, attr, val ) ) ;
298}
299
300void Node::AddNode( const Node& node )
301{

Callers 1

StartElementMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected