API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::setNext Method
OdResBuf::setNext Method
Syntax
C++
OdResBufPtr setNext(OdResBuf* pRb);
Parameters 
Description 
OdResBuf* 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–2020. Open Design Alliance. All rights reserved.