|
#define | TO_STATUS(x) |
| Converts C++ exceptioned function call into a c-style one. More...
|
|
#define | TO_STATUS_NO_RESP(x) |
| Converts C++ exceptioned function call into a status code. Does not work with a ResponseDesc object. More...
|
|
#define | NO_EXCEPT_CALL_RETURN_STATUS(x) |
| Returns a status code of a called function, handles exeptions and converts to a status code. More...
|
|
#define | PARAMETER_MISMATCH_str std::string("[PARAMETER_MISMATCH] ") |
| Defines the parameter mismatch message.
|
|
#define | NETWORK_NOT_LOADED_str std::string("[NETWORK_NOT_LOADED] ") |
| Defines the network not loaded message.
|
|
#define | NETWORK_NOT_READ_str std::string("[NETWORK_NOT_READ] ") |
| Defines the network not read message.
|
|
#define | NOT_FOUND_str std::string("[NOT_FOUND] ") |
| Defines the not found message.
|
|
#define | UNEXPECTED_str std::string("[UNEXPECTED] ") |
| Defines the unexpected message.
|
|
#define | GENERAL_ERROR_str std::string("[GENERAL ERROR] ") |
| Defines the general error message.
|
|
#define | RESULT_NOT_READY_str std::string("[RESULT_NOT_READY] ") |
| Defines the result not ready message.
|
|
#define | INFER_NOT_STARTED_str std::string("[INFER_NOT_STARTED] ") |
| Defines the infer not started message.
|
|
#define | REQUEST_BUSY_str std::string("[REQUEST_BUSY] ") |
| Defines the request busy message.
|
|
#define | NOT_IMPLEMENTED_str std::string("[NOT_IMPLEMENTED] ") |
| Defines the not implemented message.
|
|
#define | NOT_ALLOCATED_str std::string("[NOT_ALLOCATED] ") |
| Defines the not allocated message.
|
|
#define | INFER_CANCELLED_str std::string("[INFER_CANCELLED] ") |
| Defines the infer cancelled message.
|
|
|
template<typename T > |
std::ostream & | InferenceEngine::details::operator<< (std::ostream &out, const std::vector< T > &vec) |
| Serializes a std::vector to a std::ostream More...
|
|
void | InferenceEngine::details::ltrim (std::string &s) |
| trim from start (in place) More...
|
|
void | InferenceEngine::details::rtrim (std::string &s) |
| trim from end (in place) More...
|
|
std::string & | InferenceEngine::details::trim (std::string &s) |
| Trims std::string from both ends (in place) More...
|
|
std::vector< std::string > | InferenceEngine::details::split (const std::string &src, const std::string &delimiter) |
| split string into a vector of substrings More...
|
|
template<typename T , typename A > |
std::string | InferenceEngine::details::joinVec (std::vector< T, A > const &vec, std::string const &glue=std::string(",")) |
| create a string representation for a vector of values, without any suffixes or prefixes More...
|
|
template<typename T , typename A > |
std::string | InferenceEngine::details::dumpVec (std::vector< T, A > const &vec) |
| create a string representation for a vector of values, enclosing text in a square brackets More...
|
|
template<typename T , typename A > |
T | InferenceEngine::details::product (std::vector< T, A > const &vec) |
| multiply vector's values More...
|
|
template<typename T , typename A > |
bool | InferenceEngine::details::equal (const std::vector< T, A > &v1, const std::vector< T, A > &v2) |
| check if vectors contain same values More...
|
|
bool | InferenceEngine::details::equal (const std::string &lhs, const std::string &rhs, bool ignoreCase=true) |
| Checks whether two std::string s are equal. More...
|
|
bool | InferenceEngine::details::endsWith (const std::string &src, const char *with) |
| check string end with given substring More...
|
|
std::string | InferenceEngine::details::tolower (const std::string &s) |
| Converts all upper-case letters in a std::string to lower case. More...
|
|
Utility methods to works with errors or exceptional situations.