moved
This commit is contained in:
32
Sapfor/_src/Predictor/Lib/RedVar.cpp
Normal file
32
Sapfor/_src/Predictor/Lib/RedVar.cpp
Normal file
@@ -0,0 +1,32 @@
|
||||
// RedVar.cpp: implementation of the RedVar class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RedVar.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
RedVar::RedVar()
|
||||
{
|
||||
}
|
||||
|
||||
RedVar::~RedVar()
|
||||
{
|
||||
}
|
||||
|
||||
RedVar::RedVar(long ARedElmSize, long ARedArrLength, long ALocElmSize) :
|
||||
RedElmSize(ARedElmSize),
|
||||
RedArrLength(ARedArrLength),
|
||||
LocElmSize(ALocElmSize)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
long RedVar::GetSize()
|
||||
{
|
||||
return (LocElmSize + RedElmSize) * RedArrLength;
|
||||
}
|
||||
Reference in New Issue
Block a user