Drake
Drake C++ Documentation
AddDirectives Struct Reference

Detailed Description

Directive to incorporate another model directives file, optionally with its elements prefixed with a namespace.

#include <drake/multibody/parsing/model_directives.h>

Public Member Functions

bool IsValid () const
 
template<typename Archive >
void Serialize (Archive *a)
 

Public Attributes

std::string file
 The package:// URI of the file to add. More...
 
std::optional< std::string > model_namespace
 Namespaces base model instance for processing directive files. More...
 

Member Function Documentation

◆ IsValid()

bool IsValid ( ) const

◆ Serialize()

void Serialize ( Archive *  a)

Member Data Documentation

◆ file

std::string file

The package:// URI of the file to add.

◆ model_namespace

std::optional<std::string> model_namespace

Namespaces base model instance for processing directive files.

Affects scoping (i.e. the following members):


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