OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librw11/] [Rw11VirtTape.ipp] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 31 wfjm
// $Id: Rw11VirtTape.ipp 686 2015-06-04 21:08:08Z mueller $
2
//
3
// Copyright 2015- by Walter F.J. Mueller 
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16
// 2015-06-04   686   1.0    Initial version
17
// 2015-05-17   683   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11VirtTape.ipp 686 2015-06-04 21:08:08Z mueller $
23
  \brief   Implemenation (inline) of Rw11VirtTape.
24
*/
25
 
26
// all method definitions in namespace Retro
27
namespace Retro {
28
 
29
//------------------------------------------+-----------------------------------
30
//! FIXME_docs
31
 
32
inline void Rw11VirtTape::SetWProt(bool wprot)
33
{
34
  fWProt = wprot;
35
  return;
36
}
37
 
38
//------------------------------------------+-----------------------------------
39
//! FIXME_docs
40
 
41
inline void Rw11VirtTape::SetCapacity(size_t nbyte)
42
{
43
  fCapacity = nbyte;
44
  return;
45
}
46
 
47
//------------------------------------------+-----------------------------------
48
//! FIXME_docs
49
 
50
inline bool Rw11VirtTape::WProt() const
51
{
52
  return fWProt;
53
}
54
 
55
//------------------------------------------+-----------------------------------
56
//! FIXME_docs
57
 
58
inline size_t Rw11VirtTape::Capacity() const
59
{
60
  return fCapacity;
61
}
62
 
63
//------------------------------------------+-----------------------------------
64
//! FIXME_docs
65
 
66
inline bool Rw11VirtTape::Bot() const
67
{
68
  return fBot;
69
}
70
 
71
//------------------------------------------+-----------------------------------
72
//! FIXME_docs
73
 
74
inline bool Rw11VirtTape::Eot() const
75
{
76
  return fEot;
77
}
78
 
79
//------------------------------------------+-----------------------------------
80
//! FIXME_docs
81
 
82
inline bool Rw11VirtTape::Eom() const
83
{
84
  return fEom;
85
}
86
 
87
//------------------------------------------+-----------------------------------
88
//! FIXME_docs
89
 
90
inline int Rw11VirtTape::PosFile() const
91
{
92
  return fPosFile;
93
}
94
 
95
//------------------------------------------+-----------------------------------
96
//! FIXME_docs
97
 
98
inline int Rw11VirtTape::PosRecord() const
99
{
100
  return fPosRecord;
101
}
102
 
103
} // end namespace Retro

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.