<commit_before>/*
 * copyright: (c) RDO-Team, 2010
 * filename : calc_event_plan.h
 * author   :  
 * date     : 26.05.2010
 * bref     : 
 * indent   : 4T
 */

#ifndef _RDOCALCEVENTPLAN_H_
#define _RDOCALCEVENTPLAN_H_

// ====================================================================== INCLUDES
// ====================================================================== SYNOPSIS
#include "rdo_common/namespace.h"
#include "rdo_lib/rdo_runtime/rdocalc.h"
#include "rdo_lib/rdo_runtime/rdo.h"
#include "rdo_lib/rdo_runtime/rdo_runtime.h"
// ===============================================================================

OPEN_RDO_RUNTIME_NAMESPACE

// ----------------------------------------------------------------------------
// ---------- RDOCalcEventPlan
// ----------------------------------------------------------------------------
class RDOCalcEventPlan: public RDOCalc
{
public:
	RDOCalcEventPlan(PTR(RDORuntimeParent) parent, CREF(LPIBaseOperation) event, PTR(RDOCalc) timeCalc)
		: RDOCalc   (parent  )
		, m_event   (event   )
		, m_timeCalc(timeCalc)
	{}

private:
	LPIBaseOperation m_event;
	PTR(RDOCalc)     m_timeCalc;

	virtual REF(RDOValue) doCalc(PTR(RDORuntime) runtime);
};

CLOSE_RDO_RUNTIME_NAMESPACE

#endif // _RDOCALCEVENTPLAN_H_<commit_msg> - название стража должно отражать имя файла<commit_after>/*
 * copyright: (c) RDO-Team, 2010
 * filename : calc_event_plan.h
 * author   :  
 * date     : 26.05.2010
 * bref     : 
 * indent   : 4T
 */

#ifndef _CALC_EVENT_PLAN_H_
#define _CALC_EVENT_PLAN_H_

// ====================================================================== INCLUDES
// ====================================================================== SYNOPSIS
#include "rdo_common/namespace.h"
#include "rdo_lib/rdo_runtime/rdocalc.h"
#include "rdo_lib/rdo_runtime/rdo.h"
#include "rdo_lib/rdo_runtime/rdo_runtime.h"
// ===============================================================================

OPEN_RDO_RUNTIME_NAMESPACE

// ----------------------------------------------------------------------------
// ---------- RDOCalcEventPlan
// ----------------------------------------------------------------------------
class RDOCalcEventPlan: public RDOCalc
{
public:
	RDOCalcEventPlan(PTR(RDORuntimeParent) parent, CREF(LPIBaseOperation) event, PTR(RDOCalc) timeCalc)
		: RDOCalc   (parent  )
		, m_event   (event   )
		, m_timeCalc(timeCalc)
	{}

private:
	LPIBaseOperation m_event;
	PTR(RDOCalc)     m_timeCalc;

	virtual REF(RDOValue) doCalc(PTR(RDORuntime) runtime);
};

CLOSE_RDO_RUNTIME_NAMESPACE

#endif //! _CALC_EVENT_PLAN_H_
{'fraction_non_alphanumeric': 0.37718277066356226, 'fraction_numerical': 0.010089251067132324, 'mean_word_length': 2.8079763663220088, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5218842', 'n_tokens_mistral': 879, 'n_tokens_neox': 802, 'n_words': 119}