46 std::string sep( 1U ,
'|' ) ;
60 catch( std::exception & )
62 G_ERROR(
"GSmtp::VerifierStatus::parse: invalid stringised status: [" << line <<
"]" ) ;
69 std::string sep( 1U ,
'|' ) ;
70 std::string t(
"1" ) ;
71 std::string f(
"0" ) ;
74 (is_valid?t:f) + sep +
75 (is_local?t:f) + sep +
76 (temporary?t:f) + sep +
static void splitIntoFields(const std::string &in, Strings &out, const std::string &seperators, char escape= '\0', bool discard_bogus_escapes=true)
Splits the string into fields.
std::vector< std::string > StringArray
A std::vector of std::strings.
static VerifierStatus parse(const std::string &str, std::string &to_ref)
Parses a str() string into a structure and a recipient 'to' address (by reference).
VerifierStatus()
Default constructor for an invalid remote mailbox.
A structure returned by GSmtp::Verifier to describe the status of a rcpt-to recipient.
std::string str(const std::string &to) const
Returns a string representation of the structure plus the original recipient 'to' address...