Drake
drake_path.cc File Reference
#include "drake/common/drake_path.h"
#include <spruce.hh>
#include "drake/common/find_resource.h"
Include dependency graph for drake_path.cc:

Namespaces

 drake
 

Functions

optional< std::string > MaybeGetDrakePath ()
 (Advanced) Returns the fully-qualified path to the first folder containing Drake resources as located by FindResource, or nullopt if none is found. More...
 
std::string GetDrakePath ()
 Returns the fully-qualified path to the root of the drake source tree. More...