Print Formatted Banners (on ttys). More...
Public Member Functions | |
| Banner (string name="", string version="", string purpose="", string date="", string authors="", string contributors="") | |
| const string & | getName () const |
| const string & | getVersion () const |
| const string & | getPurpose () const |
| const string & | getDate () const |
| const string & | getAuthors () const |
| const string & | getContributors () const |
| unsigned int | getScreenWidth () const |
| void | setName (string name) |
| void | setVersion (string version) |
| void | setPurpose (string purpose) |
| void | setDate (string date) |
| void | setAuthors (string authors) |
| void | setContributors (string contributors) |
| void | setScreenWidth (unsigned screenWidth) |
Print Formatted Banners (on ttys).
Display a traditionnal UNIX like banner for tty:
@
@@
@@@ @@@@@@ @@
@@ @@ @@ @@ @@@@@@@@
@@ @ @ @@ @@
@@ @ @ @@
@@ @@@ @@
@@ @ @@ @@
@@ @@ @@@@@@ @@ @
@@@ @@ @@@ @@@@
@ @
@@@@@
Coriolis Graphical Tool
Coriolis CAD System 1.0, cgt 1.0b
Copyright (c) 2008-2012, SoC/LIP6/UPMC
Author(s): Jean-Paul Chaput
E-mail: alliance-users@asim.lip6.fr
| CRL::Banner::Banner | ( | std::string | name = "", |
| std::string | version = "", |
||
| std::string | purpose = "", |
||
| std::string | date = "", |
||
| std::string | authors = "", |
||
| std::string | contributors = "" |
||
| ) |
| name | The tool name. |
| version | The tool version. |
| purpose | A short description of what it does. |
| date | The date of the first release. |
| authors | The list of authors. |
| contributors | A list of contributors. |
Create a banner object.
|
inline |
Returns: The tool's name.
|
inline |
Returns: The tool's version.
|
inline |
Returns: The tool short description.
|
inline |
Returns: The tool fisrt release date (year).
|
inline |
Returns: The list of main author's names.
|
inline |
Returns: The list of contributor's names.
|
inline |
Returns: The with of the screen (tty) into which the banner will be displayed.
| void CRL::Banner::setName | ( | std::string | name | ) |
Sets the tool's name.
| void CRL::Banner::setVersion | ( | std::string | version | ) |
Sets the tool's version.
| void CRL::Banner::setPurpose | ( | std::string | purpose | ) |
Sets the tool short description.
| void CRL::Banner::setDate | ( | std::string | date | ) |
Sets the tool fisrt release date (year).
| void CRL::Banner::setAuthors | ( | std::string | authors | ) |
Sets the list of main author's names.
| void CRL::Banner::setContributors | ( | std::string | contributors | ) |
Sets the list of contributor's names.
| void CRL::Banner::setScreenWidth | ( | unsigned | screenWidth | ) |
Sets the with of the screen (tty) into which the banner will be displayed.
| Generated by doxygen 1.9.1 on Wed Nov 20 2024 | Return to top of page |
| Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |