![]() |
Rosetta
2021.16
|
Data structure for author names. More...
#include <Citation.hh>

Public Member Functions | |
| AuthorNames ()=delete | |
| Basic constructor – deleted. More... | |
| AuthorNames (std::string const &given_names, std::string const &surname, std::string const &initials) | |
| Initialization constructor. More... | |
| AuthorNames (AuthorNames const &)=default | |
| ~AuthorNames () override=default | |
| AuthorNamesOP | clone () const |
| AuthorNames & | operator= (AuthorNames const &)=default |
| Assignment operator. More... | |
| std::string const & | given_names () const |
| Get the given name(s). More... | |
| std::string const & | surname () const |
| Get the surname(s). More... | |
| std::string const & | initials () const |
| Get the initial(s). More... | |
Public Member Functions inherited from utility::VirtualBase | |
| VirtualBase ()=default | |
| Default constructor. More... | |
| virtual | ~VirtualBase ()=default |
| The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
| VirtualBase (VirtualBase const &)=default | |
| VirtualBase (VirtualBase &&)=default | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| std::string | given_names_ |
| std::string | surname_ |
| std::string | initials_ |
Data structure for author names.
|
delete |
Basic constructor – deleted.
| basic::citation_manager::AuthorNames::AuthorNames | ( | std::string const & | given_names, |
| std::string const & | surname, | ||
| std::string const & | initials | ||
| ) |
Initialization constructor.
References runtime_assert_string_msg, and surname_.
|
default |
|
overridedefault |
| AuthorNamesOP basic::citation_manager::AuthorNames::clone | ( | ) | const |
|
inline |
Get the given name(s).
References given_names_.
|
inline |
Get the initial(s).
References initials_.
|
default |
Assignment operator.
|
inline |
Get the surname(s).
References surname_.
|
private |
Referenced by given_names().
|
private |
Referenced by initials().
|
private |
Referenced by AuthorNames(), and surname().
1.8.7