API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::insert Method
OdResBuf::insert Method
Syntax
C++
OdResBufPtr insert(OdResBuf* pRb);
Parameters 
Description 
OdResBuf* pRb 
[in] Pointer to the existing ResBuf instance to be inserted. 

Returns a smart pointer to the ResBuf object before which it was inserted.

Inserts the specified ResBuf object before the next ResBuf object in the sequence of tagged data after the current ResBuf object that calls this method. 

 

Example of Working with the Sequence of Tagged Data 

Sequence of Tagged Data 

OdResBuf::next(), OdResBuf::last(), OdResBuf::setNext() methods

Copyright © 2002–2020. Open Design Alliance. All rights reserved.