API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::setNext Method
OdDgResBuf::setNext Method
Syntax
C++
OdDgResBufPtr setNext(OdDgResBuf* pRb);
Parameters 
Description 
OdDgResBuf* pRb 
[in] Pointer to the existing ResBuf instance to be set. 

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

Sets the specified ResBuf object as 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::insert() methods

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