Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
Object.cpp File Reference

This file defines the Object class. More...

#include <cassert>
#include <cstring>
#include <iostream>
#include <vector>
#include "talvos/Image.h"
#include "talvos/Memory.h"
#include "talvos/Object.h"
#include "talvos/Type.h"

Go to the source code of this file.

Namespaces

 talvos
 

Functions

void talvos::print (std::ostream &Stream, uint8_t *Data, const Type *Ty)
 Recursively print typed data to a stream. More...
 
std::ostream & talvos::operator<< (std::ostream &Stream, const Object &O)
 
#define INSTANTIATE(TYPE)
 
 talvos::INSTANTIATE (bool)
 
 talvos::INSTANTIATE (int8_t)
 
 talvos::INSTANTIATE (int16_t)
 
 talvos::INSTANTIATE (int32_t)
 
 talvos::INSTANTIATE (int64_t)
 
 talvos::INSTANTIATE (uint8_t)
 
 talvos::INSTANTIATE (uint16_t)
 
 talvos::INSTANTIATE (uint32_t)
 
 talvos::INSTANTIATE (uint64_t)
 
 talvos::INSTANTIATE (float)
 
 talvos::INSTANTIATE (double)
 

Detailed Description

This file defines the Object class.

Definition in file Object.cpp.

Macro Definition Documentation

#define INSTANTIATE (   TYPE)
Value:
template Object::Object(const talvos::Type *Ty, TYPE Value); \
template TYPE Object::get(uint32_t) const; \
template void Object::set(TYPE, uint32_t)
This class represents a SPIR-V type.
Definition: Type.h:33

Definition at line 371 of file Object.cpp.