<commit_before>/*
 * copyright: (c) RDO-Team, 2009
 * filename : rdo_type_param.h
 * author   :  
 * date     : 12.02.2010
 * bref     : 
 * indent   : 4T
 */

#ifndef _RDOPARSER_TYPE_PARAM_H_
#define _RDOPARSER_TYPE_PARAM_H_

// ====================================================================== INCLUDES
// ====================================================================== SYNOPSIS
#include "rdo_lib/rdo_parser/rdo_type.h"
#include "rdo_lib/rdo_parser/rdo_value.h"
#include "rdo_lib/rdo_parser/rdo_object.h"
#include "rdo_lib/rdo_runtime/rdo_model_interface.h"
// ===============================================================================

OPEN_RDO_PARSER_NAMESPACE

class RDOTypeRange;

// ----------------------------------------------------------------------------
// ---------- RDOTypeParam
// ----------------------------------------------------------------------------
class RDOTypeParam: public RDOType, public RDOParserSrcInfo, public IModelStructure
{
public:
	virtual void checkValue(CREF(RDOValue) value);
	//   rdoParse::RDOValue -> rdoParse::RDOValue

protected:
	RDOTypeParam(CREF(rdoRuntime::RDOType) type, CREF(RDOParserSrcInfo) src_info);
	virtual ~RDOTypeParam();
};

// ----------------------------------------------------------------------------
// ---------- RDOTypeParamInt
// ----------------------------------------------------------------------------
class RDOTypeParamInt: RDOTypeParam
{
public:
	RDOTypeParamInt(PTR(RDOTypeRange) range, CREF(RDOParserSrcInfo) src_info);

	CPTR(RDOTypeRange) range() const { return m_range; }<commit_msg> - RDOTypeParam больше не потомок RDOType<commit_after>/*
 * copyright: (c) RDO-Team, 2009
 * filename : rdo_type_param.h
 * author   :  
 * date     : 12.02.2010
 * bref     : 
 * indent   : 4T
 */

#ifndef _RDOPARSER_TYPE_PARAM_H_
#define _RDOPARSER_TYPE_PARAM_H_

// ====================================================================== INCLUDES
// ====================================================================== SYNOPSIS
#include "rdo_lib/rdo_parser/rdo_type.h"
#include "rdo_lib/rdo_parser/rdo_value.h"
#include "rdo_lib/rdo_parser/rdo_object.h"
#include "rdo_lib/rdo_runtime/rdo_model_interface.h"
// ===============================================================================

OPEN_RDO_PARSER_NAMESPACE

class RDOTypeRange;

// ----------------------------------------------------------------------------
// ---------- RDOTypeParam
// ----------------------------------------------------------------------------
class RDOTypeParam: public RDOParserSrcInfo, public IModelStructure
{
public:
	virtual void checkValue(CREF(RDOValue) value);
	//   rdoParse::RDOValue -> rdoParse::RDOValue

protected:
	RDOTypeParam(CREF(RDOType) type, CREF(RDOParserSrcInfo) src_info);
	virtual ~RDOTypeParam();
};

// ----------------------------------------------------------------------------
// ---------- RDOTypeParamInt
// ----------------------------------------------------------------------------
class RDOTypeParamInt: RDOTypeParam
{
public:
	RDOTypeParamInt(PTR(RDOTypeRange) range, CREF(RDOParserSrcInfo) src_info);

	CPTR(RDOTypeRange) range() const { return m_range; }
{'fraction_non_alphanumeric': 0.4215189873417722, 'fraction_numerical': 0.008227848101265823, 'mean_word_length': 2.1173570019723864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1886232', 'n_tokens_mistral': 926, 'n_tokens_neox': 867, 'n_words': 137}