![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <mp/config.h>#include <mp/util.h>#include <algorithm>#include <capnp/schema.h>#include <capnp/schema-parser.h>#include <cerrno>#include <cstdint>#include <cstdio>#include <cstdlib>#include <fstream>#include <functional>#include <initializer_list>#include <iostream>#include <kj/array.h>#include <kj/common.h>#include <kj/filesystem.h>#include <kj/memory.h>#include <kj/string.h>#include <map>#include <set>#include <sstream>#include <stdexcept>#include <string>#include <system_error>#include <unistd.h>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | Format |
Macros | |
| #define | PROXY_BIN "mpgen" |
| #define | PROXY_DECL "mp/proxy.h" |
| #define | PROXY_TYPES "mp/proxy-types.h" |
Typedefs | |
| using | CharSlice = kj::ArrayPtr<const char> |
Functions | |
| template<typename Reader> | |
| static bool | AnnotationExists (const Reader &reader, uint64_t id) |
| template<typename Reader> | |
| static bool | GetAnnotationText (const Reader &reader, uint64_t id, kj::StringPtr *result) |
| template<typename Reader> | |
| static bool | GetAnnotationInt32 (const Reader &reader, uint64_t id, int32_t *result) |
| static void | ForEachMethod (const capnp::InterfaceSchema &interface, const std::function< void(const capnp::InterfaceSchema &interface, const capnp::InterfaceSchema::Method)> &callback) |
| template<class OutputStream, class Array, const char * Enable = decltype(std::declval<Array>().begin())()> | |
| static OutputStream & | operator<< (OutputStream &os, const Array &array) |
| static std::string | Cap (kj::StringPtr str) |
| static bool | BoxedType (const ::capnp::Type &type) |
| static void | Generate (kj::StringPtr src_prefix, kj::StringPtr include_prefix, kj::StringPtr src_file, const std::vector< kj::StringPtr > &import_paths, const kj::ReadableDirectory &src_dir, const std::vector< kj::Own< const kj::ReadableDirectory > > &import_dirs) |
| int | main (int argc, char **argv) |
Variables | |
| constexpr uint64_t | NAMESPACE_ANNOTATION_ID = 0xb9c6f99ebf805f2cull |
| constexpr uint64_t | INCLUDE_ANNOTATION_ID = 0xb899f3c154fdb458ull |
| constexpr uint64_t | INCLUDE_TYPES_ANNOTATION_ID = 0xbcec15648e8a0cf1ull |
| constexpr uint64_t | WRAP_ANNOTATION_ID = 0xe6f46079b7b1405eull |
| constexpr uint64_t | COUNT_ANNOTATION_ID = 0xd02682b319f69b38ull |
| constexpr uint64_t | EXCEPTION_ANNOTATION_ID = 0x996a183200992f88ull |
| constexpr uint64_t | NAME_ANNOTATION_ID = 0xb594888f63f4dbb9ull |
| constexpr uint64_t | SKIP_ANNOTATION_ID = 0x824c08b82695d8ddull |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| int main | ( | int | argc, |
| char ** | argv ) |
|
static |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |