suanPan
Loading...
Searching...
No Matches
utility.cpp File Reference
#include "utility.h"
#include <suanPan.h>
Include dependency graph for utility.cpp:

Functions

void ignore_whitespace (istringstream &I)
 
string get_remaining (istringstream &I)
 
bool is_equal (const char *A, const char *B)
 
bool is_equal (const char A, const char B)
 
bool is_equal (const int A, const char B)
 
bool is_equal (const string &A, const char *B)
 
bool is_equal (const char *A, const string &B)
 
bool is_equal (const string &A, const string &B)
 
bool if_contain (const string &A, const char *B)
 
bool if_contain (const string &A, const string &B)
 
bool if_contain (string &&A, string &&B)
 
bool is_true (const char *S)
 
bool is_false (const char *S)
 
bool is_true (const string &S)
 
bool is_false (const string &S)
 
bool is_integer (const string &S)
 
double perturb (const double input, const double fraction)
 

Function Documentation

◆ get_remaining()

string get_remaining ( istringstream & I)
Here is the caller graph for this function:

◆ if_contain() [1/3]

bool if_contain ( const string & A,
const char * B )
Here is the caller graph for this function:

◆ if_contain() [2/3]

bool if_contain ( const string & A,
const string & B )

◆ if_contain() [3/3]

bool if_contain ( string && A,
string && B )
Here is the call graph for this function:

◆ ignore_whitespace()

void ignore_whitespace ( istringstream & I)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_equal() [1/6]

bool is_equal ( const char * A,
const char * B )
Here is the caller graph for this function:

◆ is_equal() [2/6]

bool is_equal ( const char * A,
const string & B )
Here is the call graph for this function:

◆ is_equal() [3/6]

bool is_equal ( const char A,
const char B )

◆ is_equal() [4/6]

bool is_equal ( const int A,
const char B )

◆ is_equal() [5/6]

bool is_equal ( const string & A,
const char * B )
Here is the call graph for this function:

◆ is_equal() [6/6]

bool is_equal ( const string & A,
const string & B )
Here is the call graph for this function:

◆ is_false() [1/2]

bool is_false ( const char * S)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_false() [2/2]

bool is_false ( const string & S)
Here is the call graph for this function:

◆ is_integer()

bool is_integer ( const string & S)
Here is the caller graph for this function:

◆ is_true() [1/2]

bool is_true ( const char * S)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_true() [2/2]

bool is_true ( const string & S)
Here is the call graph for this function:

◆ perturb()

double perturb ( const double input,
const double fraction )