RTI Connext Traditional C++ API Version 7.3.0
rti::flat::AbstractListBuilder< DHeaderGen > Class Template Reference

Base class of all array and sequence builders. More...

#include <SequenceBuilders.hpp>

Inheritance diagram for rti::flat::AbstractListBuilder< DHeaderGen >:
rti::flat::AbstractBuilder rti::flat::AbstractSequenceBuilder< DHeaderGen >

Protected Member Functions

unsigned int element_count () const
 Returns the current number of elements that have been added. More...
 
- Protected Member Functions inherited from rti::flat::AbstractBuilder
virtual ~AbstractBuilder ()
 If this is a member Builder, it calls finish(). More...
 

Additional Inherited Members

- Public Member Functions inherited from rti::flat::AbstractBuilder
void discard ()
 Discards a member in process of being built. More...
 
bool is_nested () const
 Returns whether this is a member Builder. More...
 
bool is_valid () const
 Whether this Builder is valid. More...
 
rti::xcdr::length_t capacity () const
 Returns the total capacity in bytes. More...
 
bool check_failure ()
 Checks if the previous operation failed and resets the failure flag. More...
 

Detailed Description

template<typename DHeaderGen>
class rti::flat::AbstractListBuilder< DHeaderGen >

Base class of all array and sequence builders.

Member Function Documentation

◆ element_count()

template<typename DHeaderGen >
unsigned int rti::flat::AbstractListBuilder< DHeaderGen >::element_count ( ) const
inlineprotected

Returns the current number of elements that have been added.