<commit_before>//////////////////////////////////////////////////////////////////////////
//                     ____    ____   ____     ____                    
//   Project          / _  \  / ___) |  _ \   / ___)                   
//                   | | | | | | __  | | \ | | |                       
//                   | |_| | | |_\ | | |_/ | | \___                    
//                    \____/  \____| |____/   \ ___)               
//                                                           
//!  \file OgdcDataset.h
//!  \brief OgdcDataset Ľӿڶ塣
//!  \details OgdcݼĽӿڶ塣
//!  \attention 
//!   Copyright (c) 2007-2012 SuperMap Software Co., Ltd.  <br> 
//!   All Rights Reserved.
//!  \version 1.0(2012)
//////////////////////////////////////////////////////////////////////////

#ifndef OGDCDATASET_H
#define OGDCDATASET_H

#include "Base/OgdcVariant.h"
#include "Base/OgdcRect2D.h"
#include "Element/OgdcCoordSys.h"
#include "Element/OgdcFieldInfo.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace OGDC
{
class OgdcDataSource;

//! \brief Ogdcݼࡣ
class OGDC_API OgdcDataset  
{
public:
	//! \brief ݼͣڵ 10001 Ϊûչ
	enum Type
	{
		Unknown		=-1,
		//! \brief ֻԱûмζ
		Tabular		=0,	
		//! \brief ݼ
		Point		=1,	
		//! \brief ݼ
		Line		=3,	
		//! \brief ݼ
		Region		=5,		 
		//! \brief ıݼ
		Text		=7,		 
		//! \brief Mesureάݼ
		LineM		=35,
		//! \brief Ӱ
		Image		=81,
		//! \brief Gridݼ
		Grid		=83,
		//! \brief ά
		Point3D		=101,
		//! \brief ά
		Line3D		=103,
		//! \brief ά
		Region3D	=105,
		//! Dݼ
		Compound	=149,	
	};
	
public:
	//! \brief ĬϹ캯
	OgdcDataset();
	//! \brief Ĭ
	virtual ~OgdcDataset();

public:
	//! \brief ݼ
	//! \return ǷɹݼɹTRUEʧܷFALSE
	virtual OgdcBool Open() = 0;	
	
	//! \brief رݼ<commit_msg>描述：OGDC功能更新 作者：张宝玉 日期：2013-5-7<commit_after>//////////////////////////////////////////////////////////////////////////
//                     ____    ____   ____     ____                    
//   Project          / _  \  / ___) |  _ \   / ___)                   
//                   | | | | | | __  | | \ | | |                       
//                   | |_| | | |_\ | | |_/ | | \___                    
//                    \____/  \____| |____/   \ ___)               
//                                                           
//!  \file OgdcDataset.h
//!  \brief OgdcDataset Ľӿڶ塣
//!  \details OgdcݼĽӿڶ塣
//!  \attention 
//!   Copyright (c) 2007-2012 SuperMap Software Co., Ltd.  <br> 
//!   All Rights Reserved.
//!  \version 1.0(2012)
//////////////////////////////////////////////////////////////////////////

#ifndef OGDCDATASET_H
#define OGDCDATASET_H

#include "Base/OgdcVariant.h"
#include "Base/OgdcRect2D.h"
#include "Element/OgdcCoordSys.h"
#include "Element/OgdcFieldInfo.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace OGDC
{
class OgdcDataSource;

//! \brief Ogdcݼࡣ
class OGDC_API OgdcDataset  
{
public:
	//! \brief ݼͣڵ 10001 Ϊûչ
	enum Type
	{
		Unknown		=-1,
		//! \brief ֻԱûмζ
		Tabular		=0,	
		//! \brief ݼ
		Point		=1,	
		//! \brief ݼ
		Line		=3,	
		//! \brief ݼ
		Region		=5,		 
		//! \brief ıݼ
		Text		=7,		 
		//! \brief Mesureάݼ
		LineM		=35,
		//! \brief Ӱ
		Image		=81,
		//! \brief Gridݼ
		Grid		=83,
		//! \brief ά
		Point3D		=101,
		//! \brief ά
		Line3D		=103,
		//! \brief ά
		Region3D	=105,
		//! CADݼ
		Compound	=149,	
	};
	
public:
	//! \brief ĬϹ캯
	OgdcDataset();
	//! \brief Ĭ
	virtual ~OgdcDataset();

public:
	//! \brief ݼ
	//! \return ǷɹݼɹTRUEʧܷFALSE
	virtual OgdcBool Open() = 0;	
	
	//! \brief رݼ
{'fraction_non_alphanumeric': 0.22736304286119785, 'fraction_numerical': 0.03349418109565711, 'mean_word_length': 1.0815121086828117, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7526370', 'n_tokens_mistral': 1595, 'n_tokens_neox': 1392, 'n_words': 255}