Files
SAPFOR/Sapfor/_src/Predictor/Lib/RedVar.cpp
2025-03-25 20:39:29 +03:00

33 lines
658 B
C++

// 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;
}