Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/culvertsoft/mgen
/ types & classes
Types & classes
202 in github.com/culvertsoft/mgen
⨍
Functions
1,402
◇
Types & classes
202
↓ 19 callers
Class
failure
* Exception to be throwed when ensure() fails or fail() called. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:114
↓ 8 callers
Class
IOException
* Represents an exception that occurred on the IO layer, * e.g. running out of bytes to read before expected. */
mgen-cpplib/src/main/cpp/mgen/exceptions/IOException.h:19
↓ 5 callers
Class
SerializationException
* A base class for exceptions that occur in the serialization * logic of MGen. */
mgen-cpplib/src/main/cpp/mgen/exceptions/SerializationException.h:19
↓ 5 callers
Class
tut_error
* The base for all TUT exceptions. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:13
↓ 4 callers
Class
Exception
* Base class for all exceptions thrown by the MGen c++ library. */
mgen-cpplib/src/main/cpp/mgen/exceptions/Exception.h:18
↓ 4 callers
Class
StreamCorruptedException
* Signals that unexpected data was read when reading data streams, * for example an array length was expected but a negative number was read. */
mgen-cpplib/src/main/cpp/mgen/exceptions/StreamCorruptedException.h:19
↓ 4 callers
Class
UnexpectedTypeException
* Signals that an unexpected type was read when reading data streams, * for example an integer field was to be read, but in fact string data read. *
mgen-cpplib/src/main/cpp/mgen/exceptions/UnexpectedTypeException.h:19
↓ 3 callers
Class
bad_ctor
* Internal exception to be throwed when * test constructor has failed. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:89
↓ 3 callers
Class
warning
* Exception to be throwed when test desctructor throwed an exception. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:139
↓ 2 callers
Class
String
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/document.h:566
↓ 2 callers
Class
no_such_group
* Group not found exception. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:48
↓ 2 callers
Class
no_such_test
* Test not found exception. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:68
↓ 2 callers
Class
skipped
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:213
↓ 1 callers
Class
EnumType
Represents an enumeration
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/EnumType.java:9
↓ 1 callers
Class
GetFileDep
buildutil.py:181
↓ 1 callers
Enum
result_type
mgen-cpplib/src/test/cpp/include/tut/tut_result.hpp:89
↓ 1 callers
Class
rethrown
* Exception to be throwed when child processes fail. */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:189
↓ 1 callers
Class
seh
* Exception to be throwed when test issued SEH (Win32) */
mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:164
↓ 1 callers
Class
test_result
* Return type of runned test/test group. * * For test: contains result of test and, possible, message * for failure or exception. */
mgen-cpplib/src/test/cpp/include/tut/tut_result.hpp:69
Class
AnalysisException
Exception representing an error that occurred during IDL analysis in the MGen compiler.
mgen-api/src/main/java/se/culvertsoft/mgen/api/exceptions/AnalysisException.java:7
Class
Array
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/document.h:604
Class
ArrayType
Represents an Array in the MGen compiler's data model
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/ArrayType.java:8
Enum
BINARY_TAG
* Enum used by the MGen binary wire format to signal what kind of value * is about to be written/read. These are stamped ahead of each value. * For
mgen-cpplib/src/main/cpp/mgen/serialization/BinaryTags.h:15
Class
Base64
Utility class for Base64 calculations and conversions
mgen-api/src/main/java/se/culvertsoft/mgen/api/util/Base64.java:8
Class
Base64Impl_MIG
The MIG Base64 encoder/decoder adapted to fit inside the MGen project. A very fast and memory efficient class to encode and decode to and from BASE64
mgen-api/src/main/java/se/culvertsoft/mgen/api/util/internal/Base64Impl_MIG.java:86
Class
BaseReaderHandler
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/reader.h:78
Class
BinaryReader
A class for reading data streams written in the MGen binary wire format. BinaryReader objects must be constructed with a ClassRegistry object to facil
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/BinaryReader.java:48
Class
BinaryReader
mgen-cpplib/src/main/cpp/mgen/serialization/BinaryReader.h:40
Interface
BinaryTypeTag
Single byte type tags used by the MGen BinaryWriter and BinaryReader for indicating what data to write/read. One tag exists for each binary wire forma
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/BinaryTypeTag.java:9
Class
BinaryWriter
A class for writing data streams in the MGen binary wire format.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/BinaryWriter.java:37
Class
BinaryWriter
mgen-cpplib/src/main/cpp/mgen/serialization/BinaryWriter.h:24
Class
BoolDefaultValue
Represents a default value for a boolean field.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/BoolDefaultValue.java:6
Class
BoolType
Represents a boolean field type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/BoolType.java:6
Class
BosExposed
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/Stringifyer.java:22
Class
BuiltInReader
Base class for all built-in MGen wire format readers - not intended to be used directly. See BinaryReader and JsonReader instead.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/BuiltInReader.java:13
Class
BuiltInSerializerUtils
Class holding utility methods used by MGen's built in readers and writers. Used for validating objects and throwing exceptions with useful error messa
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/BuiltInSerializerUtils.java:18
Class
BuiltInWriter
Base class for all built-in MGen wire format writers - not intended to be used directly. See BinaryWriter, JsonWriter and JsonPrettyWriter instead.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/BuiltInWriter.java:21
Class
CRC16
Utility class for calculating 16 bit hashes from a string or byte array.
mgen-api/src/main/java/se/culvertsoft/mgen/api/util/CRC16.java:8
Class
CRC32
Utility class for calculating 32 bit hashes
mgen-api/src/main/java/se/culvertsoft/mgen/api/util/CRC32.java:9
Class
CRC64
Utility class for calculating 64 bit hashes
mgen-api/src/main/java/se/culvertsoft/mgen/api/util/CRC64.java:8
Class
ChunkHeader
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/rapidjson.h:294
Class
ClassRegistryBase
Base class for all MGen class registries. When generating classes for an MGen project, a class registry is also generated. The class registry provides
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/classes/ClassRegistryBase.java:11
Class
ClassRegistryBase
* Base class for all MGen class registries. When generating classes for an MGen project, * a class registry is also generated. The class registry pro
mgen-cpplib/src/main/cpp/mgen/classes/ClassRegistryBase.h:23
Class
ClassRegistryEntry
A ClassRegistryEntry represents a way to get information about a generated class. It also provides a generic way for creating object instances of that
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/classes/ClassRegistryEntry.java:13
Class
ClassRegistryEntry
* A ClassRegistryEntry represents a way to get information about a * generated class. It also provides a generic way for creating object * instances
mgen-cpplib/src/main/cpp/mgen/classes/ClassRegistryEntry.h:26
Class
ClassType
Represents a custom defined MGen class. ClassType is used inside the compiler, as opposed to RuntimeClassType is used during application runtime.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/ClassType.java:17
Class
CommandLineArgHelp
Warning: EXPERIMENTAL. The API of this class may change significantly. See CommandLineArgParser - which is an experimental command line parser genera
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/CommandLineArgHelp.java:25
Class
CommandLineArgParser
Warning: EXPERIMENTAL. The API of this class may change significantly. A command line parser generator. It takes an MGen object class and generates a
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/CommandLineArgParser.java:19
Class
Constant
Represents a class static constant value or object.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Constant.java:6
Class
ConstantReferenceDefaultValue
Represents a reference to a static class constant. This type is not yet used in the MGen compiler, but is planned to be used in the future.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/ConstantReferenceDefaultValue.java:7
Class
CrtAllocator
C-runtime library allocator. ! This class is just wrapper for standard C library memory routines. \implements Allocator */
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/rapidjson.h:132
Interface
Ctor
An interface that represents a way to default construct an instance of an MGen class. Registered in class registries to facilitate runtime instantiati
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/classes/Ctor.java:9
Class
CustomCodeSection
Represents a custom code section in generated code. Custom code sections are sections in generated code intended to be modified by the developer after
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/CustomCodeSection.java:10
Class
DeepCopyer
Utility class to be used internally by generated code only. Used for deep copying MGen objects.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/DeepCopyer.java:20
Class
DefaultValue
Represents a default value specified in the IDL for a field.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/DefaultValue.java:6
Class
EmptyClassRegistry
Represents an empty class registry. Used for demo and testing purposes.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/classes/EmptyClassRegistry.java:6
Class
EmptyClassRegistry
* Represents an empty class registry. Used for demo and testing purposes. */
mgen-cpplib/src/main/cpp/mgen/classes/EmptyClassRegistry.h:19
Class
EnumDefaultValue
Represents a default value for an enum field/type.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/EnumDefaultValue.java:6
Class
EnumEntry
Represents an entry/value in an enumeration list.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/EnumEntry.java:6
Class
EqualityTester
Utility class to be used internally by generated code only. Used for performing deep equality tests of MGen objects.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/EqualityTester.java:18
Class
ExampleGenerator
An Generator class for MGen tutorials and examples.
mgen-api/src/test/java/se/culvertsoft/mgen/api/test/examplegenerator/ExampleGenerator.java:17
Class
ExampleParser
An Generator class for MGen tutorials and examples.
mgen-api/src/test/java/se/culvertsoft/mgen/api/test/exampleparser/ExampleParser.java:17
Class
ExtremeValuesTestData
mgen-cpplib/src/test/cpp/src/tests/ExtremeValues.cpp:24
Class
FastByteBuffer
Fast utility OutputStream for bytes used by the MGen BinaryWriter. This buffer can be used as a replacement for a ByteArrayOutputStream to improve per
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/FastByteBuffer.java:16
Class
Field
* Represents runtime metadata for a class field. This includes field id, * field name and flags specified for this field before source code was * g
mgen-cpplib/src/main/cpp/mgen/metadata/Field.h:23
Class
Field
Represents a field of a class. Field objects exist both during compilation in the mgen compiler, and also when using generated code. Outside the comp
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Field.java:17
Class
FieldHasher
Utility class to be used internally by generated code only. Used for deep hashing MGen objects (=calculating their hashCodes for their hashCode() meth
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/util/FieldHasher.java:18
Enum
FieldSetDepth
Several methods require a specified depth parameter for checking various conditions. That is what this enum is for.
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/metadata/FieldSetDepth.java:7
Enum
FieldSetDepth
* Several methods require a specified depth parameter for * checking various conditions. That is what this enum is for. */
mgen-cpplib/src/main/cpp/mgen/metadata/Field.h:100
Enum
FieldVisitSelection
Generated classes have visitation methods (MGenBase::_accept(..,..)) which require a FieldVisitSelection to be specified. This is what this enum is fo
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/metadata/FieldVisitSelection.java:8
Enum
FieldVisitSelection
* Generated classes have visitation methods (MGenBase::_accept(..,..)) * which require a FieldVisitSelection to be specified. This is what this * e
mgen-cpplib/src/main/cpp/mgen/metadata/Field.h:110
Interface
FieldVisitor
Base interface of all MGen object visitors. It is used to visit MGen objects and their fields. All generated MGen classes have _accept(..) methods whi
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/FieldVisitor.java:14
Class
FileStream
Wrapper of C file stream for input or output. ! This simple wrapper does not check the validity of the stream. \implements Stream */
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/filestream.h:13
Class
FixedPointType
A base class representing all fixed point numeric types (int8, int16, int32, int64).
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/FixedPointType.java:7
Class
Float32Type
Represents a 32 bit floating point number type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Float32Type.java:6
Class
Float64Type
Represents a 64 bit floating point number type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Float64Type.java:6
Class
FloatingPointType
A base class representing all floating point numeric types (float32, float64).
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/FloatingPointType.java:7
Class
GeneratedSourceFile
Represents a generated source code file. Generators should not write to disk directly but return a list GeneratedSourceFile objects.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/GeneratedSourceFile.java:10
Class
GenerationException
Exception representing an error that occurred during code generation in the MGen compiler.
mgen-api/src/main/java/se/culvertsoft/mgen/api/exceptions/GenerationException.java:7
Interface
Generator
Interface for all source code generators. Users can derive from this class to generate code in their own language and/or format.
mgen-api/src/main/java/se/culvertsoft/mgen/api/plugins/Generator.java:13
Class
GeneratorDescriptor
Represents a code generator class selected by the compiler. GeneratorDescriptors are created for each 'Generator' section in the project files of the
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/GeneratorDescriptor.java:10
Class
GenericDocument
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/document.h:691
Class
GenericInsituStringStream
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/rapidjson.h:487
Class
GenericReader
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/reader.h:205
Class
GenericStringBuffer
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/stringbuffer.h:16
Class
GenericStringStream
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/rapidjson.h:460
Class
GenericValue
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/document.h:30
Class
I
mgen-cpplib/src/main/cpp/mgen/ext/rapidjson/document.h:575
Class
If
mgen-cpplib/src/test/cpp/include/tut/tut_fpt.hpp:17
Class
If<true,Then,Else>
mgen-cpplib/src/test/cpp/include/tut/tut_fpt.hpp:23
Class
Int16Type
Represents a 16 bit fixed point number type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Int16Type.java:6
Class
Int32Type
Represents a 32 bit fixed point number type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Int32Type.java:6
Class
Int64Type
Represents a 64 bit fixed point number type
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Int64Type.java:6
Class
Int8Type
Represents an 8 bit fixed point number type (= a byte)
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/Int8Type.java:6
Class
IstreamInputStream
* An MGen data input wrapping a C++ std::istream. Although std istreams and std::ostreams * work fine with MGen, they do not throw any exceptions. Us
mgen-cpplib/src/main/cpp/mgen/serialization/IstreamInputStream.h:14
Class
ItemLookup
Created by the compiler to simplify linking project types and default values.
mgen-api/src/main/java/se/culvertsoft/mgen/api/model/ItemLookup.java:13
Class
JsonInStream
mgen-cpplib/src/main/cpp/mgen/serialization/JsonInputStream.h:12
Class
JsonOutStream
mgen-cpplib/src/main/cpp/mgen/serialization/JsonOutputStream.h:12
Class
JsonPrettyWriter
An MGen wire format writer for writing objects to data streams in JSON format. This class does the same as JsonWriter, except that it also adds newlin
mgen-javalib/src/main/java/se/culvertsoft/mgen/javapack/serialization/JsonPrettyWriter.java:13
Class
JsonPrettyWriter
mgen-cpplib/src/main/cpp/mgen/serialization/JsonPrettyWriter.h:15
next →
1–100 of 202, ranked by callers