-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprebase.h
More file actions
56 lines (47 loc) · 1.2 KB
/
prebase.h
File metadata and controls
56 lines (47 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//music21 CPP Copyright 2022 George Charles Rosar II
//prebase.h
#pragma once
#include <Arduino.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdint.h>
#include <Audio.h>
#include <string.h>
#include <Bounce.h>
#include "utility/imxrt_hw.h"
#include <core_pins.h>
#include "utility/dspinst.h"
#include <teensy_sample_data.h>
#include <teensy_synth_wavetable.h>
#include <Easing.h>
#include <vector>
#include <tuple>
#include <iostream>
#include <typeinfo> //for 'typeid' to work
#include <map>
//https://www.delftstack.com/howto/cpp/cpp-create-a-dictionary/
//https://stackoverflow.com/questions/1986418/typeid-versus-typeof-in-c
using std::map;
template<typename Map>
struct StringDictionaryStruct {
map<String, type_info*>* theStringArray;
uint16_t theSizeOfArray;
uint16_t highLevelClassIDinArray;
};
struct StringArray {
String* theStringArray;
uint16_t theCountOfArray;
uint16_t highLevelClassIDinArray;
};
class ProtoM21Object {
public:
bool isClassOrSubclass(void classFilterListSequenceIn);
areDisjoint(StringArray* set1, StringArray* set2);
StringArray* classes();
StringArray* classSet();
std::vector<map<String, type_info*>> __slots__ = {
{
}
};
};