Represents the notion of a page that may be visited, and helps allow a way to track the path of pages the user has seen.
More...
#include <Page.hpp>
|
| | Page ()=default |
| | Constructs a page with no name. More...
|
| |
| | Page (const std::string &t) |
| | Constructs a page with the given name. More...
|
| |
| const std::string & | title () const |
| | Returns the name or title of the page. More...
|
| |
|
| void | title (const std::string &t) |
| | Changes the name of the page. More...
|
| |
Represents the notion of a page that may be visited, and helps allow a way to track the path of pages the user has seen.
- Note
- Pages must be managed by std::shared_ptr.
- Author
- Jeff Jackowski
Definition at line 24 of file Page.hpp.
◆ Page() [1/2]
Constructs a page with no name.
Referenced by title().
◆ Page() [2/2]
| duds::ui::Page::Page |
( |
const std::string & |
t | ) |
|
|
inline |
Constructs a page with the given name.
- Parameters
-
| t | The new name or title of the page. |
Definition at line 46 of file Page.hpp.
◆ title() [1/2]
| void duds::ui::Page::title |
( |
const std::string & |
t | ) |
|
|
inlineprotected |
Changes the name of the page.
- Parameters
-
| t | The new name or title of the page. |
Definition at line 34 of file Page.hpp.
◆ title() [2/2]
| const std::string& duds::ui::Page::title |
( |
| ) |
const |
|
inline |
◆ name
| std::string duds::ui::Page::name |
|
private |
The page's name or title.
Definition at line 28 of file Page.hpp.
Referenced by title().
The documentation for this class was generated from the following file: