|
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER
// REMAINS UNCHANGED.
//
// Email: gustavo_franco@hotmail.com
//
// Copyright (C) 2005 Franco, Gustavo
//
#include "AQObjectDetails.h"
using namespace AQLib;
namespace AQLib
{
AQObjectDetails::AQObjectDetails()
{
}
AQObjectDetails::~AQObjectDetails()
{
}
void AQObjectDetails::Add(AQObjectDetail* objectDetail)
{
this->InnerList->Add(objectDetail);
}
void AQObjectDetails::Remove(AQObjectDetail* objectDetail)
{
if (this->InnerList->Contains(objectDetail))
this->InnerList->Remove(objectDetail);
}
AQObjectDetail* AQObjectDetails::get_Item(int index)
{
if (index >= this->InnerList->Count || index < 0)
return NULL;
return static_cast<AQObjectDetail*> (this->InnerList->Item[index]);
}
void AQObjectDetails::set_Item(int index, AQObjectDetail* value)
{
this->InnerList->Item[index] = value;
}
}
|
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.
I started with programming about 19 years ago as a teenager, from my old Commodore moving to PC/Server environment Windows/UNIX SQLServer/Oracle doing gwBasic, QBasic, Turbo Pascal, Assembler, Turbo C, BC, Summer87, Clipper, Fox, SQL, C/C++, Pro*C, VB3/5/6, Java, and today loving C#.
Currently working as SDE on Failover Clustering team for Microsoft.
Passion for most programming languages and my kids Aidan&Nadia.