Click here to Skip to main content
15,879,326 members
Articles / High Performance Computing

HPC Template Library, A Supplement to the STL

Rate me:
Please Sign up or sign in to vote.
4.88/5 (11 votes)
15 Dec 2017MIT3 min read 38.1K   1.3K   39  
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
/*
	The High Performance Template Library is a Licensed as LGPL.
	It is intended to provide a base object Testitecture, with
	Serialization, GUID control, etc.  
	It is based on a merger of QT, BOOST, STL, and SigSlots.
	License information is in the HtlLicense.h file
	October 2012
*/
#pragma once
#pragma warning(push)
#pragma warning (disable : 4005 ) /* macro redefinition */
#define HTL_DLLEXPORT
#pragma warning(pop)

#include "..\stdafx.h"
#include ".\TestGUID02.h"
#include "modHtlGUID.h"
#include <string>


using namespace std;
using namespace HTL;

namespace HTLTest
{

	
	HtlTestGUID02::HtlTestGUID02()
	{
		m_strTestName = "HtlTestGUID02";

		std::string strFileName = "HtlTestGUID02.txt";
		m_objDebug.Set_strFileName(strFileName);
		m_objDebug.Set_blnPrintToFile(true);
		m_objDebug.Set_intPrintLevel(2);
		//delete file if already exists to clear it
		m_objDebug.DeleteDebugFile();
	};
	HtlTestGUID02::HtlTestGUID02(HtlTestNode* ptrParent)
	{
		
	};
	HtlTestGUID02::~HtlTestGUID02()
	{
		
	};
	//Test Node virtual operations functions
	//!  Setup the Test Objects
	int HtlTestGUID02::SetupTest(void)
	{
		return 0;
	};
	//!  Perform any test pre-processing
	int HtlTestGUID02::PreProcessTest(void)
	{
		return 0;
	};
	//! Run the actual test suite for this node.  CAN involve other sub test nodes
	int HtlTestGUID02::RunTest(void)
	{
		m_objDebug.DebugPrint(4,"DEBUG PRINTER LEVEL TEST");
		std::string strA, strB;
		//PUSH_BACK AND POP_BACK TESTS
		//Test for basic string literal assignment
		strA = "HtlTestGUID02::This is a GUID SpinLock Test\n";
		m_objDebug.DebugPrint(1,"%s\n",strA.c_str());
		
		return 1;
	};
	int HtlTestGUID02::PostProcessTest(void)
	{
		return 0;
	};
	int HtlTestGUID02::ClearTest(void)
	{
		return 0;
	};

};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions