This file is indexed.

/usr/include/oce/Units_ShiftedToken.hxx is in liboce-foundation-dev 0.18.2-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Units_ShiftedToken_HeaderFile
#define _Units_ShiftedToken_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Units_ShiftedToken.hxx>

#include <Standard_Real.hxx>
#include <Units_Token.hxx>
#include <Standard_CString.hxx>
#include <Handle_Units_Dimensions.hxx>
#include <Handle_Units_Token.hxx>
#include <Standard_Integer.hxx>
class Units_Dimensions;
class Units_Token;


//! The  ShiftedToken class  inherits   from Token and
//! describes tokens which have  a gap in  addition of
//! the  multiplicative factor.   This kind  of  token
//! allows  the  description of linear functions which
//! do not pass through the origin, of the form :
//!
//! y = ax  +b
//!
//! where <x> and  <y>  are the unknown variables, <a>
//! the mutiplicative factor, and <b> the gap relative
//! to the ordinate axis.
//!
//! An example is the  tranlation between the  Celsius
//! and Fahrenheit degree of temperature.
class Units_ShiftedToken : public Units_Token
{

public:

  
  //! Creates and returns a  shifted   token.  <aword> is  a
  //! string containing the   available word, <amean>  gives
  //! the signification   of the   token,  <avalue> is   the
  //! numeric value  of the  dimension, <amove> is  the gap,
  //! and <adimensions> is  the dimension of the given  word
  //! <aword>.
  Standard_EXPORT Units_ShiftedToken(const Standard_CString aword, const Standard_CString amean, const Standard_Real avalue, const Standard_Real amove, const Handle(Units_Dimensions)& adimensions);
  
  //! Creates and returns a  token, which is a ShiftedToken.
  Standard_EXPORT virtual   Handle(Units_Token) Creates()  const;
  
  //! Returns the gap <themove>
  Standard_EXPORT   Standard_Real Move()  const;
  
  //! This  virtual   method  is  called  by the Measurement
  //! methods,  to   compute  the   measurement    during  a
  //! conversion.
  Standard_EXPORT virtual   Standard_Real Multiplied (const Standard_Real avalue)  const;
  
  //! This   virtual  method is  called  by  the Measurement
  //! methods,   to   compute   the   measurement   during a
  //! conversion.
  Standard_EXPORT virtual   Standard_Real Divided (const Standard_Real avalue)  const;
  
  //! Destroies the Token
  Standard_EXPORT virtual   void Destroy() ;
~Units_ShiftedToken()
{
  Destroy();
}
  
  Standard_EXPORT virtual   void Dump (const Standard_Integer ashift, const Standard_Integer alevel)  const;



  DEFINE_STANDARD_RTTI(Units_ShiftedToken)

protected:




private: 


  Standard_Real themove;


};







#endif // _Units_ShiftedToken_HeaderFile