repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
NIRALUser/BatchMake | Utilities/XcedeLib/Subject.h | <reponame>NIRALUser/BatchMake
#ifndef __Subject_h_
#define __Subject_h_
#include "Resource.h"
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
struct TagNameSubject{
std::string name;
std::string value;
};
class Subject
{
public:
Subject();
~Subject(){;}
void AddResource(... |
NIRALUser/BatchMake | Code/ApplicationWrapperParamSub.h | <reponame>NIRALUser/BatchMake<filename>Code/ApplicationWrapperParamSub.h<gh_stars>0
/*=========================================================================
Program: BatchMake
Module: ApplicationWrapperParamSub.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Cons... |
NIRALUser/BatchMake | Utilities/MString.h | <reponame>NIRALUser/BatchMake
/*=========================================================================
Program: BatchMake
Module: MString.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org... |
NIRALUser/BatchMake | Utilities/Flu/FLU/Flu_Button.h | // Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You should have received a copy of this license with this fi... |
NIRALUser/BatchMake | Utilities/Zip/infblock.h | /* infblock.h -- header to use infblock.c
* Copyright (C) 1995-1998 <NAME>
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applications ... |
NIRALUser/BatchMake | Code/bmScriptRunAction.h | /*=========================================================================
Program: BatchMake
Module: bmScriptRunAction.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm ... |
NIRALUser/BatchMake | Utilities/bmcurl/Testing/win32sockets.c | <reponame>NIRALUser/BatchMake
/*
* Note: This is only required if you use curl 7.8 or lower, later
* versions provide an option to curl_global_init() that does the
* win32 initialization for you.
*/
/*
* These are example functions doing socket init that Windows
* require. If you don't use windows, you can safe... |
NIRALUser/BatchMake | Code/bmScriptError.h | <gh_stars>0
/*=========================================================================
Program: BatchMake
Module: bmScriptError.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyri... |
NIRALUser/BatchMake | Utilities/HttpRequest.h | <reponame>NIRALUser/BatchMake
#ifndef HttpRequest_h
#define HttpRequest_h
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <string>
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <signal.h>
#include <arpa/inet.h>
#include <netinet/in.... |
NIRALUser/BatchMake | Utilities/XMLWriter.h | /*=========================================================================
Program: BatchMake
Module: XMLWriter.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for deta... |
NIRALUser/BatchMake | Utilities/XcedeLib/Project.h | #ifndef __Project_h_
#define __Project_h_
#include "Subject.h"
#include <cctype>
#include <algorithm>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
struct my_tolower {
char operator()(char c) const
{
return std::tolower(static_cast<unsigned char>(c));
}
};
class Project
... |
NIRALUser/BatchMake | Utilities/XcedeLib/Resource.h | #ifndef __Resource_h_
#define __Resource_h_
#include "itksys/SystemTools.hxx"
//#include "itksys/SystemInformation.hxx"
#include <string>
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
struct TagNameResource{
std::string name;
std::string value;
};
struct ResourceInfo{
s... |
NIRALUser/BatchMake | Examples/CondorTutorial/Applications/ImageMath/itkCVTImageFilter.h | <reponame>NIRALUser/BatchMake
/*=========================================================================
Program: itkUNC
Module: itkCVTImageFilter.h
Language: C++
Date: $Date$
Version: $Revision$
Author: <NAME>
Copyright (c) 2002 CADDLab @ UNC. All rights reserved.
See itkUNCCopyright... |
NIRALUser/BatchMake | Utilities/bmcurl/getdate.h | <gh_stars>0
/*
** Originally written by <NAME> <<EMAIL>> while
** at the University of North Carolina at Chapel Hill. Later tweaked by
** a couple of people on Usenet. Completely overhauled by <NAME>
** <<EMAIL>> and <NAME> <<EMAIL>> in August, 1990.
**
** This code is in the public domain and has no copyright.
... |
NIRALUser/BatchMake | Code/bmScriptRegExAction.h | /*=========================================================================
Program: BatchMake
Module: bmScriptRegExAction.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.ht... |
NIRALUser/BatchMake | Utilities/bmcurl/setup.h | <gh_stars>0
#ifndef __SETUP_H
#define __SETUP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | ... |
NIRALUser/BatchMake | Code/bmApplicationWrapperGUIBase.h | /*=========================================================================
Program: BatchMake
Module: bmApplicationWrapperGUIBase.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copy... |
NIRALUser/BatchMake | Utilities/bmcurl/ftp.h | #ifndef __FTP_H
#define __FTP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* ... |
NIRALUser/BatchMake | Utilities/Timer.h | /*=========================================================================
Program: BatchMake
Module: Timer.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.... |
NIRALUser/BatchMake | Utilities/XcedeLib/XcedeCatalog.h | #ifndef __XcedeCatalog_h_
#define __XcedeCatalog_h_
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <vector>
#include <string>
#include "itksys/Glob.hxx"
#include "itksys/SystemTools.hxx"
#include <libxml/xmlwriter.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/xpath.... |
NIRALUser/BatchMake | Utilities/Flu/FLU/Flu_Link_Button.h | // Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You should have received a copy of this license with this fi... |
NIRALUser/BatchMake | Utilities/bmcurl/hostthre.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
NIRALUser/BatchMake | Code/bmLaunch.h | <gh_stars>0
/*=========================================================================
Program: BatchMake
Module: bmLaunch.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.h... |
NIRALUser/BatchMake | Utilities/XcedeLib/XnatCatalog.h | <filename>Utilities/XcedeLib/XnatCatalog.h
#ifndef __XnatCatalog_h_
#define __XnatCatalog_h_
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <vector>
#include <string>
#include "itksys/Glob.hxx"
#include "itksys/SystemTools.hxx"
#include <libxml/xmlwriter.h>
#include <libxml/xmlmemory.h>
#include ... |
NIRALUser/BatchMake | Utilities/Flu/FLU/Flu_DND.h | // Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You should have received a copy of this license with this fi... |
NIRALUser/BatchMake | Code/ApplicationWrapper.h | /*=========================================================================
Program: BatchMake
Module: ApplicationWrapper.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm... |
NIRALUser/BatchMake | Utilities/bmcurl/ldap.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2004, <NAME>, <<... |
NIRALUser/BatchMake | Code/Dashboard/bmScriptAddMethodOutputAction.h | /*=========================================================================
Program: BatchMake
Module: bmScriptAddMethodOutputAction.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Co... |
NIRALUser/BatchMake | Utilities/bmcurl/ssluse.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
NIRALUser/BatchMake | Examples/CondorTutorial/Applications/ImageRegTool/AffineRegistrator.h | <reponame>NIRALUser/BatchMake
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: AffineRegistrator.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reser... |
NIRALUser/BatchMake | Utilities/Flu/FLU/Flu_Helpers.h | // Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You should have received a copy of this license with this fi... |
NIRALUser/BatchMake | Code/Grid/bmGrid.h | <gh_stars>0
/*=========================================================================
Program: BatchMake
Module: bmGrid.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm... |
NIRALUser/BatchMake | Code/bmEditor.h | <gh_stars>0
/*=========================================================================
Program: BatchMake
Module: bmEditor.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.... |
NIRALUser/BatchMake | Utilities/XMLBufferReader.h | <gh_stars>0
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: XMLBufferReader.h
Language: C++
Date: $Date$
Version: $1.0$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.t... |
NIRALUser/BatchMake | Utilities/Flu/FLU/Flu_Collapsable_Group.h | <filename>Utilities/Flu/FLU/Flu_Collapsable_Group.h
// Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You shou... |
NIRALUser/BatchMake | Code/bmProgressManager.h | <reponame>NIRALUser/BatchMake
/*=========================================================================
Program: BatchMake
Module: bmProgressManager.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://w... |
NIRALUser/BatchMake | Examples/CondorTutorial/Applications/ImageMath/itkNJetImageFunction.h | <reponame>NIRALUser/BatchMake
/*=========================================================================
Program: itkUNC
Module: itkNJetImageFunction.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 CADDLab @ UNC. All rights reserved.
See itkUNCCopyright.txt for details.... |
NIRALUser/BatchMake | Utilities/Flu/FLU/flu_export.h | <reponame>NIRALUser/BatchMake
// Id
/***************************************************************
* FLU - FLTK Utility Widgets
* Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
*
* This file and its content is protected by a software license.
* You should have received a cop... |
NIRALUser/BatchMake | Utilities/bmcurl/amigaos.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
NIRALUser/BatchMake | Code/bmApplicationListGUIBase.h | /*=========================================================================
Program: BatchMake
Module: bmApplicationListGUIBase.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2005 Insight Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyrig... |
NIRALUser/BatchMake | Utilities/bmcurl/ftp.c | <filename>Utilities/bmcurl/ftp.c
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* ... |
NIRALUser/BatchMake | Examples/CondorTutorial/Applications/ImageRegTool/ImageRegistrationApp.h | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: ImageRegistrationApp.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt... |
NIRALUser/BatchMake | Utilities/bmcurl/multi.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
NIRALUser/BatchMake | Examples/CondorTutorial/Applications/ImageRegTool/DeformableRegistrator.h | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: DeformableRegistrator.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.tx... |
cmacdougald/2018SPRING-ITSE1307 | MaoCardGame/MaoCardGame/Player.h | #pragma once
#include <iostream>
#include <vector>
#include <string>
#include "Card.h"
class Player
{
public:
Player();
~Player();
void clearHand();
int getNumberOfCards();
Card removeCardFromHand(int intCardIndex);
void addCardToHand(Card cardAdding);
int getBet();
void inputBet();
void setB... |
cmacdougald/2018SPRING-ITSE1307 | chp10example/chp10example/Bottle.h | #pragma once
#include <iostream>
#include <cmath>
class Bottle
{
public:
Bottle(int intRadius, int intHeight);
~Bottle();
private:
bool isOpen;
int intHeight;
int intRadius;
int intContentHeight;
public:
void open();
void close();
void add(int intContent);
void remove(int intContent);
dou... |
cmacdougald/2018SPRING-ITSE1307 | MaoCardGame/MaoCardGame/Card.h | #pragma once
#include <cstdlib>
#include <ctime>
#include <string>
enum cardsuite { CLUBS, DIAMONDS, HEARTS, SPADES };
class Card
{
public:
Card();
Card(int intCard);
~Card();
private:
int intCardValue = 0;
public:
int getFaceValue();
int getSuiteValue();
std::string getFaceString();
std::s... |
cmacdougald/2018SPRING-ITSE1307 | MaoCardGame/MaoCardGame/DiscardPile.h | #pragma once
#include "Card.h"
#include <vector>
class DiscardPile
{
private:
std::vector <Card> vtrDiscardPile;
public:
DiscardPile();
~DiscardPile();
void clear();
Card getTopCard();
void addCard(Card cardDiscarded);
bool checkValidCard(Card cardIsValid);
};
|
cmacdougald/2018SPRING-ITSE1307 | MaoCardGame/MaoCardGame/Deck.h | <gh_stars>0
#pragma once
#include <vector>
#include <iostream>
#include <algorithm>
#include "Card.h"
class Deck
{
public:
Deck();
~Deck();
private:
unsigned int intCurrentIndex;
std::vector<Card> vtrDeck;
public:
void shuffle();
bool shouldShuffle();
Card getCard();
Deck(int intNumberOfDecks... |
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/wifi_icons.h | #ifndef _WIFI_ICONS_H_
#define _WIFI_ICONS_H_
#define WIFI_ICON_W 64
#define WIFI_ICON_H 64
#define WIFI_FRAME_ANIMATION_COUNT 4
static const unsigned char wifi_animation_64x64_bits[WIFI_FRAME_ANIMATION_COUNT][(WIFI_ICON_W * WIFI_ICON_H) / sizeof(char)] PROGMEM = {
{
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF... |
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/weather_icons.h | #ifndef _WEATHER_ICONS_H_
#define _WEATHER_ICONS_H_
#define WEATHER_ICON_W 56
#define WEATHER_ICON_H 56
static const unsigned char thunder_light_rain_56x56_bits[] PROGMEM = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, ... |
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/ConfigHTMLPage.h | const char* PARAM_WIFINAME = "wifiName";
const char* PARAM_LAT = "lat";
const char* PARAM_LON = "lon";
const char* PARAM_SCREENSAVER = "screenSaver";
const char* PARAM_SCREENSAVERTIME = "screenSaverTime";
const char* PARAM_DNDMODE = "DNDMode";
const char* PARAM_DNDFROM = "DNDFrom";
const char* PARAM_DNDTO = "DNDTo";
co... |
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/DebugHelpers.h | <filename>WeatherStation_wemos_d1_mini_oled/DebugHelpers.h
//#define DEBUG
#define TELEMETRY
#ifdef DEBUG
#define DEBUG_LOG(text) Serial.print(text)
#define DEBUG_LOG_LN(text) Serial.println(text)
#else
#define DEBUG_LOG(text)
#define DEBUG_LOG_LN(text)
#endif
|
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/src/ESPConnect/ESPConnect.h | #ifndef ESPConnect_h
#define ESPConnect_h
#include <functional>
#include <Arduino.h>
#if defined(ESP8266)
#include "ESP8266WiFi.h"
#include "WiFiClient.h"
#include "ESPAsyncTCP.h"
#elif defined(ESP32)
#include "WiFi.h"
#include "WiFiClient.h"
#include "AsyncTCP.h"
#include "Preferences.h"
#endif
#incl... |
SequoiaSan/WeatherStation_wemos_d1_mini_oled | WeatherStation_wemos_d1_mini_oled/WeatherDisplay.h | <filename>WeatherStation_wemos_d1_mini_oled/WeatherDisplay.h
#ifndef _WEATHERDISPLAY_H
#define _WEATHERDISPLAY_H
#include <Arduino.h>
#include <Array.h>
#include <U8g2lib.h>
#include <MillisTimer.h>
#include "weather_icons.h"
#include "wifi_icons.h"
#include "DebugHelpers.h"
#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>... |
cschladetsch/KAI | Include/KAI/Core/Memory/BaseAllocator.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Memory/IAllocator.h>
KAI_BEGIN
namespace Memory
{
/// Commonality for all allocators
struct BaseAllocator : IAllocator
{
typedef char Byte;
typedef char *BytePtr;
typename IAllocator::Allocator alloc;
typen... |
cschladetsch/KAI | Include/KAI/Core/Pathname.h | <reponame>cschladetsch/KAI
#pragma once
#include <list>
#include <KAI/Core/BuiltinTypes/String.h>
#include <KAI/Core/Type/Traits.h>
#include "KAI/Core/Object/Label.h"
KAI_BEGIN
/// A Pathname represents a qualified _name for an Object
class Pathname
{
public:
struct Literals
{
static const String::C... |
cschladetsch/KAI | Include/KAI/Core/Detail/AddArgType.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Type/Number.h>
KAI_BEGIN
namespace function_detail
{
template<int N, class... Args>
struct AddArgType;
template<int N, class Head, class... Tail>
struct AddArgType<N, Head, Tail...>
{
static void Add(std::vector<Type::Numb... |
cschladetsch/KAI | Include/KAI/Core/Exception.h | <reponame>cschladetsch/KAI
#pragma once
#include "KAI/Core/Exception/FileLocation.h"
#include "KAI/Core/Exception/ExceptionBase.h"
#include "KAI/Core/Exception/Extended.h"
#include "KAI/Core/Exception/ExceptionMacros.h"
|
cschladetsch/KAI | Include/KAI/Core/Object/ConstStorage.h | #pragma once
#include "KAI/Core/Object/StorageBase.h"
#include <KAI/Core/Type/Traits.h>
#include "KAI/Core/Object/ObjectConstructParams.h"
KAI_BEGIN
template <class T>
class ConstStorage : public StorageBase
{
typedef typename Type::Traits<T> Tr;
typedef typename Tr::Store Store;
protected:
Store stored... |
cschladetsch/KAI | Include/KAI/Language/Common/ParserCommon.h | #pragma once
#include <KAI/Language/Common/ParserBase.h>
#include <KAI/Language/Common/ProcessCommon.h>
#include <KAI/Language/Common/Process.h>
#include <KAI/Language/Common/AstNodeBase.h>
#include <KAI/Language/Common/Structure.h>
KAI_BEGIN
// common for all parsers.
// iterate over a stream of tokens to produce a... |
cschladetsch/KAI | Include/KAI/Executor/Executor.h | #pragma once
#include <KAI/Core/Value.h>
#include <KAI/Executor/Continuation.h>
#include <KAI/Executor/Operation.h>
#include <KAI/Core/BuiltinTypes/Stack.h>
#include <KAI/Core/Object/Reflected.h>
#include <KAI/Core/Value.h>
#include <KAI/Core/Pathname.h>
KAI_BEGIN
class Tree;
struct Executor;
KAI_TYPE_TRAITS(Execut... |
cschladetsch/KAI | Include/KAI/Language/Common/Structure.h | <reponame>cschladetsch/KAI
#pragma once
#include <KAI/Core/Base.h>
KAI_BEGIN
// A syntactic structure.
enum class Structure
{
None,
Single, // an expression or such
Sequence, // a contaniner or such
Module, // a self-contianed collection of reflected things
Statement, ... |
cschladetsch/KAI | Include/KAI/Platform/Platform.h | <filename>Include/KAI/Platform/Platform.h
//
// Created by christian on 20/05/16.
//
//#ifndef KAI_ROOT_PLATFORM_H
//#define KAI_ROOT_PLATFORM_H
//
//#endif //KAI_ROOT_PLATFORM_H
|
cschladetsch/KAI | Include/KAI/Core/Executor.h | <reponame>cschladetsch/KAI
#pragma once
#include <KAI/Executor/Operation.h>
#include <KAI/Executor/Continuation.h>
#include <KAI/Executor/SignedContinuation.h>
#include <KAI/Executor/Compiler.h>
|
cschladetsch/KAI | Include/KAI/Language/Rho/RhoParser.h | #pragma once
#include <KAI/Language/Common/ParserCommon.h>
#include <KAI/Language/Rho/RhoAstNode.h>
#include <KAI/Language/Rho/RhoLexer.h>
KAI_BEGIN
// parser specific to the in-fix Rho language
class RhoParser : public ParserCommon<RhoLexer, RhoAstNodeEnumType>
{
public:
typedef ParserCommon<RhoLexer, RhoAstNod... |
cschladetsch/KAI | Include/KAI/Language/Common/LexerBase.h | <gh_stars>10-100
#pragma once
#include <KAI/Language/Common/ProcessCommon.h>
#include <KAI/Language/Common/Slice.h>
KAI_BEGIN
int IsSpaceChar(int ch);
// Common to all lexers with different token types
class LexerBase : public ProcessCommon
{
public:
typedef std::vector<std::string> Lines;
LexerBase(const ... |
cschladetsch/KAI | Include/KAI/Language/Pi/PiAstNode.h | #pragma once
#include <KAI/Language/Common/AstNodeBase.h>
#include <KAI/Language/Pi/PiToken.h>
KAI_BEGIN
// A node in the AST generated by the Pi Parser
struct PiAstNodeEnumType
{
enum Enum
{
None,
Program,
Operation,
List,
Map,
Set,
Array,
Cont... |
cschladetsch/KAI | Include/KAI/Network/NetPointer.h | <reponame>cschladetsch/KAI
#pragma once
#include "KAI/Network/NetObject.h"
KAI_NET_BEGIN
template <class T>
struct NetPointer : Pointer<T>
{
private:
NetHandle _netHandle;
Domain *_domain;
public:
NetHandle GetNetHandle() const;
};
KAI_NET_END
|
cschladetsch/KAI | Include/KAI/Core/BuiltinTypes/Set.h | #pragma once
#include <unordered_set>
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Object/Object.h>
#include <KAI/Core/TriColor.h>
#include "Container.h"
KAI_BEGIN
struct CompareHandles
{
bool operator()(Object const &A, Object const &B) const
{
return A.GetHandle() == B.GetHandle();
}
... |
cschladetsch/KAI | Include/KAI/Language/Rho/RhoLang.h | <gh_stars>10-100
#pragma once
#include <KAI/Language/Common/LangCommon.h>
#include <KAI/Language/Rho/RhoTranslator.h>
#include <KAI/Language/Common/Structure.h>
KAI_BEGIN
class RhoLang : Lang<RhoTranslator>
{
typedef Lang<RhoTranslator> Parent;
RhoLang(Registry &r) : Parent(r) { }
Pointer<Executor> Exe... |
cschladetsch/KAI | Include/KAI/Core/BinaryPacket.h | <reponame>cschladetsch/KAI
#pragma once
#include <KAI/Core/Config/Base.h>
#include "Registry.h"
KAI_BEGIN
/// A Binary-packet is a fixed-size sequence of bytes which allows only extraction
/// this allows it to be used to extract data from network packets without copying.
class BinaryPacket
{
public:
typedef cha... |
cschladetsch/KAI | Include/KAI/Core/Type.h | #pragma once
#include <KAI/Core/Type/Number.h>
#include <KAI/Core/Type/Properties.h>
#include <KAI/Core/Type/Traits.h>
#include <KAI/Core/Type/TraitMacros.h>
|
cschladetsch/KAI | Include/KAI/Core/Object/Label.h | #pragma once
#include <KAI/Core/BuiltinTypes/String.h>
#include <KAI/Core/Type/TraitMacros.h>
KAI_BEGIN
struct Label
{
typedef String Value;
private:
Value _value;
bool _quoted = false;
public:
Label() = default;
explicit Label(const String::Char *S) { FromString(S); }
explicit Label(const ... |
cschladetsch/KAI | Include/KAI/Core/Detail/Arity.h | <gh_stars>10-100
#pragma once
#include <KAI/Core/BuiltinTypes/Stack.h>
#include "KAI/KAI.h"
KAI_BEGIN
//namespace detail
//{
// // TODO: make this redundant with CallableableBase.h
// template <int N>
// struct Add
// {
// template <class... Args>
// static void Arg(Stack &input, std::tuple... |
cschladetsch/KAI | Include/KAI/Core/ObjectColor.h | <gh_stars>10-100
#pragma once
#include <KAI/Core/Config/Base.h>
KAI_BEGIN
///
/// Used for tri-color garbage collection
///
/// see also http://stackoverflow.com/questions/2364274/tri-color-incremental-updating-gc-does-it-need-to-scan-each-stack-twice
///
struct ObjectColor
{
/// All If we have no Grey objects,... |
cschladetsch/KAI | Include/KAI/Core/Object/Class.h | <reponame>cschladetsch/KAI<filename>Include/KAI/Core/Object/Class.h<gh_stars>10-100
#pragma once
#include <KAI/Core/Type/Traits.h>
#include "KAI/Core/Object/Object.h"
#include "KAI/Core/Object/ClassBase.h"
#include "KAI/Core/Object/Label.h"
#include "KAI/Core/Object/ObjectConstructParams.h"
#include "KAI/Core/Object/G... |
cschladetsch/KAI | Include/KAI/Platform/GameController.h | <filename>Include/KAI/Platform/GameController.h<gh_stars>10-100
#ifndef KAI_PLATFORM_GAME_CONTROLLER_H
#define KAI_PLATFORM_GAME_CONTROLLER_H
#include KAI_PLATFORM_INCLUDE(GameController.h)
#endif
//EOF
|
cschladetsch/KAI | Include/KAI/Core/BuiltinTypes/Void.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Meta/Base.h>
#include <KAI/Core/Type/Number.h>
#include <KAI/Core/Type/Traits.h>
KAI_BEGIN
struct Void
{
};
inline StringStream &operator<<(StringStream &S, Void const &) { return S; }
inline StringStream &operator>>(StringStream &S, Void &) { ret... |
cschladetsch/KAI | Include/KAI/Core/Object/Handle.h | #pragma once
#include <unordered_set>
#include <KAI/Core/Config/Base.h>
KAI_BEGIN
class Handle
{
public:
typedef int Value;
private:
Value value;
public:
explicit Handle(Value V = 0) : value(V) { }
Value GetValue() const { return value; }
Value NextValue() { return ++value; }
friend bool ... |
cschladetsch/KAI | Include/KAI/Language/Common/TranslatorCommon.h | <gh_stars>10-100
#pragma once
#include <KAI/Language/Common/ProcessCommon.h>
#include <KAI/Language/Common/Structure.h>
#include <KAI/Executor/Continuation.h>
#include <KAI/Executor/Operation.h>
KAI_BEGIN
/// Common to all systems that translate from a text stream to a Continuation
struct TranslatorCommon : ProcessC... |
cschladetsch/KAI | Include/KAI/Core/Object/PropertyBase.h | <filename>Include/KAI/Core/Object/PropertyBase.h
#pragma once
#include <KAI/Core/Type/Number.h>
#include "KAI/Core/Object/Label.h"
#include "KAI/Core/BasePointer.h"
#include "KAI/Core/Object/MemberCreateParams.h"
#include "KAI/UnfuckWin32.h"
KAI_BEGIN
/// nominates a field in an instance of a class. commonality for... |
cschladetsch/KAI | Include/KAI/Network/Node.h | #pragma once
#include "KAI/Network/Network.h"
namespace RakNet
{
class RakPeerInterface;
}
KAI_NET_BEGIN
// A peer on the network. Nominally, there are no servers or clients. Just
// a collection of nodes that connect and communicate with each other.
struct Node
{
private:
RakNet::RakPeerInterface *_peer;
public... |
cschladetsch/KAI | Include/KAI/Core/BuiltinTypes/Stack.h | <gh_stars>10-100
#pragma once
#include <vector>
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/BuiltinTypes/Container.h>
#include "KAI/Core/Exception/ExceptionBase.h"
#include "KAI/Core/Exception/ExceptionMacros.h"
KAI_BEGIN
class Stack : public Container<Stack>
{
public:
typedef std::vector<Object> Obje... |
cschladetsch/KAI | Include/KAI/Core/Object/ProcessBase.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include "Event.h"
KAI_BEGIN
/// Base class for all timer objects that receive an Update() call.
class ProcessBase
{
bool paused;
public:
Event<Handle> OnUpdate;
ProcessBase(bool P = true) : paused(P) { }
virtual ~ProcessBase() { }
bool IsPaused()... |
cschladetsch/KAI | Include/KAI/Language/Hlsl/Hlsl.h | #pragma once
#include "./HlslLang.h"
|
cschladetsch/KAI | Include/KAI/Language/Common/ProcessCommon.h | <reponame>cschladetsch/KAI<filename>Include/KAI/Language/Common/ProcessCommon.h
#pragma once
#include <KAI/Core/Value.h>
#include <KAI/Core/Registry.h>
#include <KAI/Language/Common/Process.h>
KAI_BEGIN
struct ProcessCommon : Process
{
template <class T>
Value<T> New()
{
return _reg->New<T>();
... |
cschladetsch/KAI | Include/KAI/Core/Object/Reflected.h | <gh_stars>10-100
#pragma once
KAI_BEGIN
struct StorageBase;
struct Registry;
template <class T> struct Pointer;
class Reflected
{
public:
StorageBase *Self;
virtual ~Reflected() { }
virtual void Create() { } // called after object constructed, but before first use
virtual bool Destro... |
cschladetsch/KAI | Include/KAI/Core/Object/XmlScopedElement.h |
#pragma once
#include <KAI/Core/Config/Base.h>
KAI_BEGIN
/// Writes a <Element name1="text1" ... nameN="textN">optional body</Element>
class XmlScopedElement
{
typedef String String;
typedef StringStream StringStream;
StringStream &xml;
String name;
public:
XmlScopedElement(StringStream &X, co... |
cschladetsch/KAI | Source/App/Window/Include/ExecutorWindow.h | #pragma once
#include <vector>
#include <string>
#include <KAI/Config.h>
KAI_BEGIN
struct ExecutorWindow
{
// deprecating...
char InputBuf[256];
int HistoryPos; // -1: new line, 0..History.Size-1 browsing history.
bool ScrollToBottom;
std::vector<std::string> Items;
std::vector<std::string>... |
cschladetsch/KAI | Include/KAI/Core/Type/TraitMacros.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Object/Handle.h>
#include <KAI/Core/BuiltinTypes/String.h>
#include "KAI/Core/Type/Properties.h"
#include "KAI/Core/Type/Number.h"
#include "KAI/Core/Type/Traits.h"
KAI_BEGIN
#define KAI_TYPE_TRAITS_NAMED(T, N, M, Ops) \
namespace Type \
{ \
... |
cschladetsch/KAI | Include/KAI/Language/Rho/RhoToken.h | <filename>Include/KAI/Language/Rho/RhoToken.h
#pragma once
#include <KAI/Language/Common/TokenBase.h>
KAI_BEGIN
// A token in the Rho language
struct RhoTokenEnumType
{
enum Enum
{
None = 0,
Whitespace = 1,
Semi = 2,
Int = 3,
Float = 4,
String = 5,
True... |
cschladetsch/KAI | Include/KAI/Language/Common/Process.h | <reponame>cschladetsch/KAI<gh_stars>10-100
#pragma once
#include <KAI/Core/Config/Base.h>
#include <string>
KAI_BEGIN
// Common to all language processes. A simple and humble class with faults
// but crucial to the overall system.
struct Process
{
virtual ~Process() = default;
static int trace;
mutable ... |
cschladetsch/KAI | Include/KAI/Core/BuiltinTypes/Bool.h | #pragma once
#include <KAI/Core/Type.h>
KAI_BEGIN
StringStream &operator<<(StringStream &, bool);
StringStream &operator>>(StringStream &, bool &);
BinaryStream &operator<<(BinaryStream &, bool);
BinaryStream &operator>>(BinaryStream &, bool &);
KAI_TYPE_TRAITS(bool,
Number::Bool
, Properties::Streaming
... |
cschladetsch/KAI | Include/KAI/Network/AgentDecl.h | #pragma once
#include <KAI/Network/AgentBase.h>
KAI_NET_BEGIN
KAI_NET_END
|
cschladetsch/KAI | Include/KAI/Core/FwdDeclarations.h | #pragma once
#include <KAI/Core/Base.h>
KAI_BEGIN
struct StorageBase;
template <class T> class Storage;
class ClassBase;
template <class T> class Class;
class Object;
class String;
class StringStream;
class BinaryStream;
class BinaryPacket;
struct Registry;
class Reflected;
template <class T>
struct FwdBasePointe... |
cschladetsch/KAI | Include/KAI/Core/Exception/FileLocation.h | #pragma once
#include <KAI/Core/BuiltinTypes/String.h>
KAI_BEGIN
/// A location in a source file represented as the file _name and a line number
struct FileLocation
{
String file;
String function;
int line;
FileLocation() : line(0) { }
FileLocation(const char *F, int L, const char *G = "") : fil... |
cschladetsch/KAI | Include/KAI/Language/Tau/TauParser.h | <filename>Include/KAI/Language/Tau/TauParser.h<gh_stars>10-100
#pragma once
#include <KAI/Language/Common/ParserCommon.h>
#include <KAI/Language/Tau/TauLexer.h>
#include <KAI/Language/Tau/TauAstNode.h>
TAU_BEGIN
// parser specific to the IDL Tau language
class TauParser : public ParserCommon<TauLexer, TauAstEnumType... |
cschladetsch/KAI | Include/KAI/Core/Tree.h | #pragma once
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/Pathname.h>
#include <KAI/Core/Object/Object.h>
KAI_BEGIN
class Tree
{
public:
typedef std::list<Object> SearchPath;
private:
SearchPath _path;
Object _root, _scope;
Pathname _current;
public:
void SetRoot(const Object &Q) { _roo... |
cschladetsch/KAI | Include/KAI/Core/TriColor.h | <filename>Include/KAI/Core/TriColor.h
#pragma once
#include <utility>
#include <KAI/Core/Config/Base.h>
#include <KAI/Core/BuiltinTypes/String.h>
#include "KAI/Core/Object/Object.h"
#include "KAI/Core/Object/StorageBase.h"
#include "KAI/Core/Object/Handle.h"
#include "KAI/Core/ObjectColor.h"
KAI_BEGIN
template <cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.