maliput_sparse
NestedBuilder< ParentT > Class Template Reference

Detailed Description

template<typename ParentT>
class maliput_sparse::builder::details::NestedBuilder< ParentT >

Holds the parent Builder class and offers a small set of convenient methods to manage the Builder lifecycle.

Template Parameters
ParentTThe parent BuilderBase type.

#include <include/maliput_sparse/builder/builder.h>

Public Member Functions

virtual ~NestedBuilder ()=default
 
 NestedBuilder (ParentT *parent)
 Construct a new nested builder object. More...
 
ParentT & End ()
 
ParentT * Parent ()
 

Constructor & Destructor Documentation

◆ ~NestedBuilder()

virtual ~NestedBuilder ( )
virtualdefault

◆ NestedBuilder()

NestedBuilder ( ParentT *  parent)
explicit

Construct a new nested builder object.

Parameters
parentThe pointer to the parent builder. Must not be nullptr.
Exceptions
maliput::common::assertion_errorWhen parent is nulltr.

Member Function Documentation

◆ End()

ParentT& End ( )
Returns
A reference to the parent builder.

◆ Parent()

ParentT* Parent ( )
Returns
A pointer to the parent builder.

The documentation for this class was generated from the following file: