ADTF
Loading...
Searching...
No Matches
string_check.h File Reference
#include <ddl/utilities/access_optional.h>
#include <string>
Include dependency graph for string_check.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ddl
 definition of the ddl namespace
 
namespace  ddl::dd
 definition of the dd namespace
 
namespace  ddl::dd::utility
 definition of the old compatibility utility namespace
 
namespace  ddl::utility
 definition of the utility namespace
 

Functions

bool ddl::dd::utility::isInteger (const std::string &string_to_check) noexcept
 Checks if the given string is an integer value.
 
Optional< int > ddl::utility::toType (const std::string &from_string, const Optional< int > &default_value={})
 specialized conversion to the Optional<int>
 
Optional< size_t > ddl::utility::toType (const std::string &from_string, const utility::Optional< size_t > &default_value={})
 specialized conversion to the Optional<size_t>
 
Optional< std::string > ddl::utility::toType (const std::string &from_string, const utility::Optional< std::string > &default_value={})
 specialized function to convert a string to an optional string which is only valid if set.
 
void ddl::utility::replaceInString (std::string &string_data, const std::string &to_replace, const std::string &replace_with)
 In place replacement helper function.
 
bool ddl::utility::isInteger (const std::string &string_to_check) noexcept
 Checks if the given string is an integer value.
 

Detailed Description

Utility for string checkking within the DDFromXML header only factory