#include "../units/base_units.hpp"
#include "../derived_units/physics_units.hpp"
#include "../util/types.hpp"
#include <cmath>
#include <iostream>
#include <string>
Go to the source code of this file.
|
namespace | scifir |
| The namespace scifir contains all scifir-units, excepting the string literals, which are outside.
|
|
|
template<typename T > |
string | scifir::to_string (const coordinates_1d< T > &x) |
|
string | scifir::to_string (const coordinates_1d< float > &x) |
|
template<typename T , typename U > |
T | scifir::distance (const coordinates_1d< T > &x, const coordinates_1d< U > &y) |
|
float | scifir::distance (const coordinates_1d< float > &x, const coordinates_1d< float > &y) |
|
template<typename T , typename U > |
bool | operator== (const scifir::coordinates_1d< T > &x, const scifir::coordinates_1d< U > &y) |
|
template<typename T , typename U > |
bool | operator!= (const scifir::coordinates_1d< T > &x, const scifir::coordinates_1d< U > &y) |
|
template<typename T > |
bool | operator== (const scifir::coordinates_1d< T > &x, const string &init_coordinates_1d) |
|
template<typename T > |
bool | operator!= (const scifir::coordinates_1d< T > &x, const string &init_coordinates_1d) |
|
template<typename T > |
bool | operator== (const string &init_coordinates_1d, const scifir::coordinates_1d< T > &x) |
|
template<typename T > |
bool | operator!= (const string &init_coordinates_1d, const scifir::coordinates_1d< T > &x) |
|
template<typename T > |
void | operator+= (string &x, const scifir::coordinates_1d< T > &y) |
|
template<typename T > |
string | operator+ (const string &x, const scifir::coordinates_1d< T > &y) |
|
template<typename T > |
string | operator+ (const scifir::coordinates_1d< T > &x, const string &y) |
|
template<typename T > |
ostream & | operator<< (ostream &os, const scifir::coordinates_1d< T > &x) |
|
ostream & | operator<< (ostream &os, const scifir::coordinates_1d< float > &x) |
|
template<typename T > |
istream & | operator>> (istream &is, scifir::coordinates_1d< T > &x) |
|
◆ operator!=() [1/3]
template<typename T , typename U >
◆ operator!=() [2/3]
◆ operator!=() [3/3]
◆ operator+() [1/2]
Definition at line 257 of file coordinates_1d.hpp.
258{
260}
string to_string(const aid &x)
Creates a string representation of aid, it's for aid equivalent to the display() function of aid.
◆ operator+() [2/2]
◆ operator+=()
◆ operator<<() [1/2]
◆ operator<<() [2/2]
◆ operator==() [1/3]
template<typename T , typename U >
Definition at line 200 of file coordinates_1d.hpp.
201{
203 {
204 return true;
205 }
206 else
207 {
208 return false;
209 }
210}
◆ operator==() [2/3]
◆ operator==() [3/3]
◆ operator>>()
Definition at line 271 of file coordinates_1d.hpp.
272{
273 char a[256];
274 is.getline(a, 256);
275 string b(a);
276 boost::trim(b);
278 return is;
279}