VGM
Version 5.3
Loading...
Searching...
No Matches
packages
BaseVGM
include
BaseVGM
solids
VTubs.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The BaseVGM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
19
20
#ifndef BASE_VGM_V_TUBS_H
21
#define BASE_VGM_V_TUBS_H
22
23
#include "
VGM/solids/ITubs.h
"
24
25
#include <iostream>
26
27
namespace
BaseVGM
{
28
29
class
VTubs
:
public
virtual
VGM::ITubs
30
{
31
public
:
32
VTubs
();
33
virtual
~VTubs
();
34
35
// methods
36
virtual
VGM::SolidType
Type
()
const
;
37
38
// streaming
39
virtual
std::ostream&
Put
(std::ostream& out)
const
;
40
};
41
42
}
// namespace BaseVGM
43
44
// inline functions
45
46
inline
VGM::SolidType
BaseVGM::VTubs::Type
()
const
{
return
VGM::kTubs
; }
47
48
#endif
// BASE_VGM_V_TUBS_H
ITubs.h
BaseVGM::VTubs
The ABC for tubs solids.
Definition
VTubs.h:30
BaseVGM::VTubs::Type
virtual VGM::SolidType Type() const
Return the type of this solid.
Definition
VTubs.h:46
BaseVGM::VTubs::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VTubs.cxx:42
BaseVGM::VTubs::~VTubs
virtual ~VTubs()
Definition
VTubs.cxx:36
BaseVGM::VTubs::VTubs
VTubs()
Definition
VTubs.cxx:30
VGM::ITubs
The VGM interface to tubs solids.
Definition
ITubs.h:30
BaseVGM
BaseVGM utilities.
Definition
utilities.h:23
VGM::SolidType
SolidType
Definition
ISolid.h:29
VGM::kTubs
@ kTubs
Definition
ISolid.h:47
Generated on Tue Jun 18 2024 11:05:10 for VGM by
1.11.0