Conscience Core
Macros | Typedefs
CscCommon.h File Reference
#include <string>
#include <vector>
#include <filesystem>
#include <algorithm>
#include <cmath>
#include <optional>
#include <map>
#include <memory>
#include <exception>
#include <functional>
#include "Util/conscience_util.h"
#include "Util/conscience_log.h"

Go to the source code of this file.

Macros

#define CSC_LOG_ENABLE_STDOUT   1
 
#define CSC_DEFAULT_OUT_DIR   fs::temp_directory_path().string()
 
#define ptrcast   std::static_pointer_cast
 
#define ptrdynamiccast   std::dynamic_pointer_cast
 
#define newptr   std::make_shared
 
#define CSC_APP_UNDEFINED   -1
 
#define CSC_APP_ENGINE   0
 
#define CSC_APP_STUDIO   1
 
#define CSC_APP   CSC_APP_UNDEFINED
 

Typedefs

template<class T >
using ptr = std::shared_ptr< T >
 

Macro Definition Documentation

◆ CSC_APP

#define CSC_APP   CSC_APP_UNDEFINED

◆ CSC_APP_ENGINE

#define CSC_APP_ENGINE   0

◆ CSC_APP_STUDIO

#define CSC_APP_STUDIO   1

◆ CSC_APP_UNDEFINED

#define CSC_APP_UNDEFINED   -1

◆ CSC_DEFAULT_OUT_DIR

#define CSC_DEFAULT_OUT_DIR   fs::temp_directory_path().string()

◆ CSC_LOG_ENABLE_STDOUT

#define CSC_LOG_ENABLE_STDOUT   1

◆ newptr

#define newptr   std::make_shared

◆ ptrcast

#define ptrcast   std::static_pointer_cast

◆ ptrdynamiccast

#define ptrdynamiccast   std::dynamic_pointer_cast

Typedef Documentation

◆ ptr

template<class T >
using ptr = std::shared_ptr<T>