API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::insert Method
OdDgResBuf::insert Method
Syntax
C++
OdDgResBufPtr insert(OdDgResBuf* pRb);
Parameters 
Description 
OdDgResBuf* 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.