#include "PlumedMainInitializer.h"
#include "PlumedMain.h"
#include "tools/Exception.h"
#include "lepton/Exception.h"
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <exception>
#include <stdexcept>
#include <ios>
#include <new>
#include <typeinfo>
#include "tools/TypesafePtr.h"
Namespaces | |
PLMD | |
Macros | |
#define | plumed_convert_fptr(ptr, fptr) { ptr=NULL; std::memcpy(&ptr,&fptr,(sizeof(fptr)>sizeof(ptr)?sizeof(ptr):sizeof(fptr))); } |
Functions | |
static bool | getenvTypesafeDebug () noexcept |
void | plumed_plumedmain_cmd (void *plumed, const char *key, const void *val) |
Send a command key and a pointer val to a void pointer returned by plumed_plumedmain_create. More... | |
static void | plumed_plumedmain_cmd_nothrow (void *plumed, const char *key, const void *val, plumed_nothrow_handler_x nothrow) |
static void | plumed_plumedmain_cmd_safe (void *plumed, const char *key, plumed_safeptr_x safe) |
static void | plumed_plumedmain_cmd_safe_nothrow (void *plumed, const char *key, plumed_safeptr_x safe, plumed_nothrow_handler_x nothrow) |
void * | plumed_plumedmain_create () |
Constructs a plumed object. More... | |
void | plumed_plumedmain_finalize (void *plumed) |
Finalize a void pointer returned by plumed_plumedmain_create. More... | |
void | plumed_symbol_table_init () |
Function that makes sure that plumed_symbol_table is initialized. More... | |
static void | typesafeDebug (const char *key, plumed_safeptr_x safe) noexcept |
Variables | |
plumed_symbol_table_type_x | plumed_symbol_table |
#define plumed_convert_fptr | ( | ptr, | |
fptr | |||
) | { ptr=NULL; std::memcpy(&ptr,&fptr,(sizeof(fptr)>sizeof(ptr)?sizeof(ptr):sizeof(fptr))); } |
|
staticnoexcept |
void plumed_plumedmain_cmd | ( | void * | plumed, |
const char * | key, | ||
const void * | val | ||
) |
Send a command key
and a pointer val
to a void pointer returned by plumed_plumedmain_create.
|
static |
|
static |
|
static |
void* plumed_plumedmain_create | ( | ) |
Constructs a plumed object.
This function returns a void pointer that can be used in plumed_plumedmain_cmd and plumed_plumedmain_finalize.
void plumed_plumedmain_finalize | ( | void * | plumed | ) |
Finalize a void pointer returned by plumed_plumedmain_create.
void plumed_symbol_table_init | ( | ) |
Function that makes sure that plumed_symbol_table is initialized.
Can be called multiple times.
|
staticnoexcept |
|
private |
plumed_symbol_table_type_x plumed_symbol_table |
Hosted by GitHub | 1.8.17 |