This project has retired. For details please refer to its Attic page.
Apache Mesos: 3rdparty/stout/include/stout/flags/parse.hpp File Reference
Apache Mesos
Namespaces | Functions
parse.hpp File Reference
#include <sstream>
#include <string>
#include <stout/bytes.hpp>
#include <stout/duration.hpp>
#include <stout/error.hpp>
#include <stout/ip.hpp>
#include <stout/json.hpp>
#include <stout/path.hpp>
#include <stout/strings.hpp>
#include <stout/try.hpp>
#include <stout/flags/flag.hpp>
#include <stout/os/read.hpp>

Go to the source code of this file.

Namespaces

 flags
 

Functions

template<typename T >
Try< T > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::string > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< bool > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Duration > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Bytes > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IP > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IPv4 > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< net::IPv6 > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< JSON::Object > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< JSON::Array > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< Path > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< SecurePathOrValue > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::vector< unsigned int > > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 
template<>
Try< std::set< std::string > > flags::parse (const std::string &value)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...