Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Dim3.cpp
Go to the documentation of this file.
1 // Copyright (c) 2018 the Talvos developers. All rights reserved.
2 //
3 // This file is distributed under a three-clause BSD license. For full license
4 // terms please see the LICENSE file distributed with this source code.
5 
8 
9 #include <iostream>
10 
11 #include "talvos/Dim3.h"
12 
13 namespace talvos
14 {
15 
16 std::ostream &operator<<(std::ostream &Stream, const Dim3 &D)
17 {
18  return Stream << std::dec << "(" << D.X << "," << D.Y << "," << D.Z << ")";
19 }
20 
21 } // namespace talvos
uint32_t Y
Definition: Dim3.h:30
uint32_t Z
Definition: Dim3.h:30
Class representing a 3-dimensional size or ID.
Definition: Dim3.h:22
This file declares the Dim3 class.
uint32_t X
Definition: Dim3.h:30
std::ostream & operator<<(std::ostream &Stream, const Dim3 &D)
Definition: Dim3.cpp:16