Namespaces | Macros
create.cpp File Reference
#include <iostream>
#include <cmath>
#include <ctime>
#include <memory>
#include <assert.h>
#include "create/create.h"
Include dependency graph for create.cpp:

Go to the source code of this file.

Namespaces

 create
 

Macros

#define BOUND(val, min, max)   (val = BOUND_CONST(val,min,max))
 
#define BOUND_CONST(val, min, max)   (val<min?min:(val>max?max:val))
 
#define GET_DATA(id)   (data->getPacket(id)->getData())
 

Macro Definition Documentation

#define BOUND (   val,
  min,
  max 
)    (val = BOUND_CONST(val,min,max))

Definition at line 11 of file create.cpp.

#define BOUND_CONST (   val,
  min,
  max 
)    (val<min?min:(val>max?max:val))

Definition at line 10 of file create.cpp.

#define GET_DATA (   id)    (data->getPacket(id)->getData())

Definition at line 9 of file create.cpp.



libcreate
Author(s): Jacob Perron
autogenerated on Mon Nov 2 2020 03:59:34