<commit_before>// InArchive.h - Copyright 2013-2016 <NAME>, All Rights Reserved
#pragma once

#include "../config.h"
#include "../Forwards/Containers.h"
#include "../Functional/Enumerator.h"

class CORE_API InArchive
{
	////////////////////////
	///   Constructors   ///
public:

	virtual ~InArchive() = default;

	///////////////////
	///   Methods   ///
public:

	/** Returns the name of this Archive.
	* NOTE: Returns an empty String if this Archive has no name. */
	virtual String GetName() const = 0;

	/** Attempts to get a boolean value out of this Archive, returning whether it succeeded. */
	virtual bool Get(bool& value) const = 0;

	/** Attempts to get a char value out of this Archive, returning whether it succeeded. */
	virtual bool Get(char& value) const = 0;

	/** Attempts to get a byte value out of this Archive, returning whether it succeeded. */
	virtual bool Get(byte& value) const = 0;

	/** Attempts to get an int16 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int16& value) const = 0;

	/** Attempts to get a uint16 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint16& value) const = 0;

	/** Attempts to get an int32 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int32& value) const = 0;

	/** Attempts to get a uint32 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint32& value) const = 0;

	/** Attempts to get an int64 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int64& value) const = 0;

	/** Attempts to get a uint64 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint64& value) const = 0;

	/** Attempts to get a float value out of this Archive, returning whether it succeeded. */
	virtual bool Get(float& value) const = 0;

	/** Attempts to get a double value out of this Archive, returning whether it succeeded. */
	virtual bool Get(double& value) const = 0;

	/** Attempts to get a long double value out of this Archive, returning whether it succeeded. */
	virtual bool Get(long double& value) const = 0;

	/** Attempts to get a String value out of this Archive, returning whether it succeeded. */
	virtual bool Get(String& value) const = 0;

	/** Iterates over all child archives in the archive. */
	virtual void EnumerateChildren(Enumerator<const InArchive&> enumerator) const = 0;
};
<commit_msg>Updated comment<commit_after>// InArchive.h - Copyright 2013-2016 <NAME>, All Rights Reserved
#pragma once

#include "../config.h"
#include "../Forwards/Containers.h"
#include "../Functional/Enumerator.h"

/** Represents an Archive that may have data retrieved from it. */
class CORE_API InArchive
{
	////////////////////////
	///   Constructors   ///
public:

	virtual ~InArchive() = default;

	///////////////////
	///   Methods   ///
public:

	/** Returns the name of this Archive.
	* NOTE: Returns an empty String if this Archive has no name. */
	virtual String GetName() const = 0;

	/** Attempts to get a boolean value out of this Archive, returning whether it succeeded. */
	virtual bool Get(bool& value) const = 0;

	/** Attempts to get a char value out of this Archive, returning whether it succeeded. */
	virtual bool Get(char& value) const = 0;

	/** Attempts to get a byte value out of this Archive, returning whether it succeeded. */
	virtual bool Get(byte& value) const = 0;

	/** Attempts to get an int16 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int16& value) const = 0;

	/** Attempts to get a uint16 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint16& value) const = 0;

	/** Attempts to get an int32 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int32& value) const = 0;

	/** Attempts to get a uint32 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint32& value) const = 0;

	/** Attempts to get an int64 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(int64& value) const = 0;

	/** Attempts to get a uint64 value out of this Archive, returning whether it succeeded. */
	virtual bool Get(uint64& value) const = 0;

	/** Attempts to get a float value out of this Archive, returning whether it succeeded. */
	virtual bool Get(float& value) const = 0;

	/** Attempts to get a double value out of this Archive, returning whether it succeeded. */
	virtual bool Get(double& value) const = 0;

	/** Attempts to get a long double value out of this Archive, returning whether it succeeded. */
	virtual bool Get(long double& value) const = 0;

	/** Attempts to get a String value out of this Archive, returning whether it succeeded. */
	virtual bool Get(String& value) const = 0;

	/** Iterates over all child archives in the archive. */
	virtual void EnumerateChildren(Enumerator<const InArchive&> enumerator) const = 0;
};

{'fraction_non_alphanumeric': 0.1151747827844009, 'fraction_numerical': 0.01899373610830471, 'mean_word_length': 3.3231441048034935, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6425570', 'n_tokens_mistral': 1501, 'n_tokens_neox': 1332, 'n_words': 661}