Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
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.
std::optional< std::string > model_namespace
 Namespaces base model instance for processing directive files.

Member Function Documentation

◆ IsValid()

bool IsValid ( ) const

◆ Serialize()

template<typename Archive>
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: