<commit_before>/***********************************************************************************************************************
 * VLoopStatement.h
 *
 *  Created on: Feb 16, 2011
 *      Author: <NAME>
 **********************************************************************************************************************/

#ifndef VLOOPSTATEMENT_H_
#define VLOOPSTATEMENT_H_

#include "../oovisualization_api.h"
#include "VLoopStatementStyle.h"

#include "OOModel/headers/statements/LoopStatement.h"

#include "VisualizationBase/headers/items/ItemWithNode.h"
#include "VisualizationBase/headers/items/LayoutProvider.h"
#include "VisualizationBase/headers/Styles.h"

namespace Visualization {
	class PanelBorderLayout;
	class SequentialLayout;
	class VList;
}

namespace OOVisualization {

class OOVISUALIZATION_API VLoopStatement : public Visualization::ItemWithNode< Visualization::LayoutProvider<Visualization::PanelBorderLayout>, OOModel::LoopStatement>
{
	ITEM_COMMON(VLoopStatement)

	public:
		VLoopStatement(Item* parent, NodeType* node, const StyleType* style = Visualization::Styles::item<VLoopStatement>("default"));
		virtual ~VLoopStatement();

	protected:
		void determineChildren();

	private:
		Visualization::SequentialLayout* header;

		Visualization::SequentialLayout* conditionBackground;
		Visualization::SequentialLayout* initStepBackground;
		Visualization::SequentialLayout* updateStepBackground;

		Visualization::Item* condition;
		Visualization::Item* initStep;
		Visualization::Item* updateStep;<commit_msg>CHANGED: Added a virtual infront of an overriden method.<commit_after>/***********************************************************************************************************************
 * VLoopStatement.h
 *
 *  Created on: Feb 16, 2011
 *      Author: <NAME>
 **********************************************************************************************************************/

#ifndef VLOOPSTATEMENT_H_
#define VLOOPSTATEMENT_H_

#include "../oovisualization_api.h"
#include "VLoopStatementStyle.h"

#include "OOModel/headers/statements/LoopStatement.h"

#include "VisualizationBase/headers/items/ItemWithNode.h"
#include "VisualizationBase/headers/items/LayoutProvider.h"
#include "VisualizationBase/headers/Styles.h"

namespace Visualization {
	class PanelBorderLayout;
	class SequentialLayout;
	class VList;
}

namespace OOVisualization {

class OOVISUALIZATION_API VLoopStatement : public Visualization::ItemWithNode< Visualization::LayoutProvider<Visualization::PanelBorderLayout>, OOModel::LoopStatement>
{
	ITEM_COMMON(VLoopStatement)

	public:
		VLoopStatement(Item* parent, NodeType* node, const StyleType* style = Visualization::Styles::item<VLoopStatement>("default"));
		virtual ~VLoopStatement();

	protected:
		virtual void determineChildren();

	private:
		Visualization::SequentialLayout* header;

		Visualization::SequentialLayout* conditionBackground;
		Visualization::SequentialLayout* initStepBackground;
		Visualization::SequentialLayout* updateStepBackground;

		Visualization::Item* condition;
		Visualization::Item* initStep;
		Visualization::Item* updateStep;
{'fraction_non_alphanumeric': 0.23765530423701817, 'fraction_numerical': 0.003822873526600828, 'mean_word_length': 8.781931464174455, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6339826', 'n_tokens_mistral': 861, 'n_tokens_neox': 810, 'n_words': 152}