#include <iostream>
#include <string>
#include <vector>
#include "base/str.hh"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
#define OUTVAL |
( |
|
valtype, |
|
|
|
type |
|
) |
| |
Value:do { \
valtype value; \
cout <<
"TYPE = " #valtype
"\n";
\
cout <<
"Number(" <<
s <<
") = " << dec \
<< (
unsigned long long)(
unsigned type)value <<
"\n" \
<<
"Number(" <<
s <<
") = " << dec \
<< (signed long long)(signed type)value << "\n" \
<<
"Number(" <<
s <<
") = 0x" << hex \
<< (unsigned long long)(unsigned type)value << "\n" \
<<
"Number(" <<
s <<
") = 0" << oct \
<< (unsigned long long)(unsigned type)value << "\n\n"; \
} else \
cout <<
"Number(" <<
s <<
") is invalid\n\n"; \
} while (0)
bool to_number(const std::string &value, Pixel &retval)
if(it_gpu==gpuTypeMap.end())
Referenced by main().
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |