Cerata
A library to generate structural hardware designs
|
A VHDL Identifier convenience structure. More...
#include <identifier.h>
Public Member Functions | |
Identifier (std::initializer_list< std::string > parts, std::optional< char > sep='_') | |
Construct an identifier from a bunch of strings. | |
Identifier (std::deque< std::string > parts, std::optional< char > sep='_') | |
Construct an identifier from a bunch of strings. | |
Identifier & | append (const std::string &part) |
Append a part to the Identifier. | |
Identifier & | prepend (const std::string &part) |
Append a part to the Identifier. | |
Identifier & | operator+= (const std::string &rhs) |
Append a part to the Identifier. More... | |
Identifier | operator+ (const std::string &rhs) const |
Create a copy and add a new part to the Identifier. | |
std::string | ToString () const |
Return a human-readable string of the identifier. | |
A VHDL Identifier convenience structure.
Definition at line 30 of file identifier.h.
Identifier & cerata::vhdl::Identifier::operator+= | ( | const std::string & | rhs | ) |
Append a part to the Identifier.
rhs |
Definition at line 65 of file identifier.cc.