Empirical
Public Member Functions | List of all members
emp::Author Class Reference

#include <Author.h>

Public Member Functions

 Author (const std::string &first, const std::string &middle, const std::string &last)
 
 Author (const std::string &first, const std::string &last)
 
 Author (const std::string &last)
 
 Author (const Author &)=default
 
 ~Author ()
 
Authoroperator= (const Author &)=default
 
bool operator== (const Author &other) const
 
bool operator!= (const Author &other) const
 
bool operator< (const Author &other) const
 
bool operator> (const Author &other) const
 
bool operator>= (const Author &other) const
 
bool operator<= (const Author &other) const
 
bool HasPrefix () const
 
bool HasFirstName () const
 
bool HasMiddleName () const
 
bool HasLastName () const
 
bool HasSuffix () const
 
const std::string & GetPrefix () const
 
const std::string & GetFirstName () const
 
const std::string & GetMiddleName (size_t id=0) const
 
const std::string & GetLastName () const
 
const std::string & GetSuffix () const
 
std::string GetFullName () const
 
std::string GetReverseName () const
 
std::string GetFirstInitial () const
 
std::string GetMiddleInitials () const
 
std::string GetLastInitial () const
 
std::string GetInitials () const
 
std::string GetName (std::string pattern="FML")
 
AuthorClear ()
 
AuthorSetFirst (const std::string &str)
 
AuthorSetLast (const std::string &str)
 
AuthorAddMiddle (const std::string &str)
 

Constructor & Destructor Documentation

emp::Author::Author ( const std::string &  first,
const std::string &  middle,
const std::string &  last 
)
inline
emp::Author::Author ( const std::string &  first,
const std::string &  last 
)
inline
emp::Author::Author ( const std::string &  last)
inline
emp::Author::Author ( const Author )
default
emp::Author::~Author ( )
inline

Member Function Documentation

Author& emp::Author::AddMiddle ( const std::string &  str)
inline
Author& emp::Author::Clear ( )
inline
std::string emp::Author::GetFirstInitial ( ) const
inline
const std::string& emp::Author::GetFirstName ( ) const
inline
std::string emp::Author::GetFullName ( ) const
inline
std::string emp::Author::GetInitials ( ) const
inline
std::string emp::Author::GetLastInitial ( ) const
inline
const std::string& emp::Author::GetLastName ( ) const
inline
std::string emp::Author::GetMiddleInitials ( ) const
inline
const std::string& emp::Author::GetMiddleName ( size_t  id = 0) const
inline
std::string emp::Author::GetName ( std::string  pattern = "FML")
inline
const std::string& emp::Author::GetPrefix ( ) const
inline
std::string emp::Author::GetReverseName ( ) const
inline
const std::string& emp::Author::GetSuffix ( ) const
inline
bool emp::Author::HasFirstName ( ) const
inline
bool emp::Author::HasLastName ( ) const
inline
bool emp::Author::HasMiddleName ( ) const
inline
bool emp::Author::HasPrefix ( ) const
inline
bool emp::Author::HasSuffix ( ) const
inline
bool emp::Author::operator!= ( const Author other) const
inline
bool emp::Author::operator< ( const Author other) const
inline
bool emp::Author::operator<= ( const Author other) const
inline
Author& emp::Author::operator= ( const Author )
default
bool emp::Author::operator== ( const Author other) const
inline
bool emp::Author::operator> ( const Author other) const
inline
bool emp::Author::operator>= ( const Author other) const
inline
Author& emp::Author::SetFirst ( const std::string &  str)
inline
Author& emp::Author::SetLast ( const std::string &  str)
inline

The documentation for this class was generated from the following file: