| CodePorting.Translator Cs2Cpp
    CodePorting.Translator.Cs2Cpp.Framework | 
Provides a set of useful methods that check some basic properties of different types and functions. More...
#include <test_tools.h>
| Static Public Member Functions | |
| template<typename T > | |
| static std::enable_if< std::is_arithmetic< T >::value||std::is_enum< T >::value, bool >::type | IsNull (T obj) | 
| Checks if specific value is null. Version for arithmetic and enum types.  More... | |
| template<typename T > | |
| static std::enable_if<!std::is_arithmetic< T >::value &&!std::is_enum< T >::value, bool >::type | IsNull (const T &obj) | 
| Checks if specific value is null. Version for non-arithmetic and non-enum value types.  More... | |
| template<typename T > | |
| static bool | IsNull (const SharedPtr< T > &obj) | 
| Checks if specific value is null. Version for non-arithmetic value types.  More... | |
| template<typename K , typename V > | |
| static bool | IsNull (System::Collections::Generic::KeyValuePair< K, V > &kvp) | 
| Checks if specific value is null. Version for key-value pairs.  More... | |
| static bool | IsEmpty (const System::String &str) | 
| Checks if string is empty.  More... | |
| template<typename T > | |
| static bool | IsEmpty (const SharedPtr< T > &collection) | 
| Checks if collection is empty.  More... | |
| template<typename T > | |
| static bool | IsNullOrEmpty (const SharedPtr< T > &collection) | 
| Checks if collection is null or empty.  More... | |
| static bool | IsNullOrEmpty (const System::String &str) | 
| Checks if string is null or empty.  More... | |
| static bool | IsNull (const System::String &str) | 
| Checks if string is null.  More... | |
| static bool | AssertThrows (const std::function< void()> &func) | 
| Checks if function throws exception of any type.  More... | |
Provides a set of useful methods that check some basic properties of different types and functions.
| 
 | inlinestatic | 
Checks if function throws exception of any type.
| func | Function to check for throwing. | 
| 
 | inlinestatic | 
Checks if collection is empty.
| T | Collection type. | 
| collection | Collection to check. | 
| 
 | inlinestatic | 
Checks if string is empty.
| str | String to check for being empty. | 
| 
 | inlinestatic | 
Checks if specific value is null. Version for non-arithmetic value types.
| T | Type of value being checked. | 
| obj | Value to check for null. | 
| 
 | inlinestatic | 
Checks if string is null.
| str | String to check. | 
| 
 | inlinestatic | 
Checks if specific value is null. Version for non-arithmetic and non-enum value types.
| T | Type of value being checked. | 
| obj | Value to check for null. | 
| 
 | inlinestatic | 
Checks if specific value is null. Version for key-value pairs.
| K | Key type. | 
| V | Value type. | 
| kvp | Pair object. | 
| 
 | inlinestatic | 
Checks if specific value is null. Version for arithmetic and enum types.
| T | Type of value being checked. | 
| obj | Value to check for null. | 
| 
 | inlinestatic | 
Checks if collection is null or empty.
| T | Collection type. | 
| collection | Collection to check. | 
| 
 | inlinestatic | 
Checks if string is null or empty.
| str | String to check. |