OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
ne_cp Struct Reference

Detailed Description

Test node and edge

Definition at line 25 of file GraphMLWriter_unit_tests.hpp.

#include <GraphMLWriter_unit_tests.hpp>

Data Structures

struct  attributes
 define attributes names More...
 

Public Types

typedef boost::fusion::vector< float, float, float, double, long int, int, std::string > type
 The node contain several properties.
 
typedef float s_type
 type of the spatial information
 

Public Member Functions

float & get_x ()
 get x
 
float & get_y ()
 get y
 
float & get_z ()
 get z
 
double & get_dn ()
 get double number
 
long int & get_ln ()
 get long number
 
int & get_i ()
 get integer
 
std::string & get_str ()
 get string
 

Static Public Member Functions

static bool noPointers ()
 

Data Fields

type data
 The data.
 

Static Public Attributes

static const unsigned int x = 0
 x property id in boost::fusion::vector
 
static const unsigned int y = 1
 y property id in boost::fusion::vector
 
static const unsigned int z = 2
 z property id in boost::fusion::vector
 
static const unsigned int double_num = 3
 double_num property id in boost::fusion::vector
 
static const unsigned int long_num = 4
 long_num property id in boost::fusion::vector
 
static const unsigned int integer = 5
 integer property id in boost::fusion::vector
 
static const unsigned int string = 6
 string property id in boost::fusion::vector
 
static const unsigned int max_prop = 7
 total number of properties boost::fusion::vector
 

Member Typedef Documentation

◆ s_type

typedef float ne_cp::s_type

type of the spatial information

Definition at line 77 of file GraphMLWriter_unit_tests.hpp.

◆ type

typedef boost::fusion::vector<float,float,float,double,long int,int,std::string> ne_cp::type

The node contain several properties.

Definition at line 28 of file GraphMLWriter_unit_tests.hpp.

Member Function Documentation

◆ get_dn()

double & ne_cp::get_dn ( )
inline

get double number

Definition at line 57 of file GraphMLWriter_unit_tests.hpp.

◆ get_i()

int & ne_cp::get_i ( )
inline

get integer

Definition at line 61 of file GraphMLWriter_unit_tests.hpp.

◆ get_ln()

long int & ne_cp::get_ln ( )
inline

get long number

Definition at line 59 of file GraphMLWriter_unit_tests.hpp.

◆ get_str()

std::string & ne_cp::get_str ( )
inline

get string

Definition at line 63 of file GraphMLWriter_unit_tests.hpp.

◆ get_x()

float & ne_cp::get_x ( )
inline

get x

Definition at line 51 of file GraphMLWriter_unit_tests.hpp.

◆ get_y()

float & ne_cp::get_y ( )
inline

get y

Definition at line 53 of file GraphMLWriter_unit_tests.hpp.

◆ get_z()

float & ne_cp::get_z ( )
inline

get z

Definition at line 55 of file GraphMLWriter_unit_tests.hpp.

◆ noPointers()

static bool ne_cp::noPointers ( )
inlinestatic

Definition at line 71 of file GraphMLWriter_unit_tests.hpp.

Field Documentation

◆ data

type ne_cp::data

The data.

Definition at line 31 of file GraphMLWriter_unit_tests.hpp.

◆ double_num

const unsigned int ne_cp::double_num = 3
static

double_num property id in boost::fusion::vector

Definition at line 40 of file GraphMLWriter_unit_tests.hpp.

◆ integer

const unsigned int ne_cp::integer = 5
static

integer property id in boost::fusion::vector

Definition at line 44 of file GraphMLWriter_unit_tests.hpp.

◆ long_num

const unsigned int ne_cp::long_num = 4
static

long_num property id in boost::fusion::vector

Definition at line 42 of file GraphMLWriter_unit_tests.hpp.

◆ max_prop

const unsigned int ne_cp::max_prop = 7
static

total number of properties boost::fusion::vector

Definition at line 48 of file GraphMLWriter_unit_tests.hpp.

◆ string

const unsigned int ne_cp::string = 6
static

string property id in boost::fusion::vector

Definition at line 46 of file GraphMLWriter_unit_tests.hpp.

◆ x

const unsigned int ne_cp::x = 0
static

x property id in boost::fusion::vector

Definition at line 34 of file GraphMLWriter_unit_tests.hpp.

◆ y

const unsigned int ne_cp::y = 1
static

y property id in boost::fusion::vector

Definition at line 36 of file GraphMLWriter_unit_tests.hpp.

◆ z

const unsigned int ne_cp::z = 2
static

z property id in boost::fusion::vector

Definition at line 38 of file GraphMLWriter_unit_tests.hpp.


The documentation for this struct was generated from the following file: