/*
 * Copyright (C) 2004-2006  Autodesk, Inc.
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of version 2.1 of the GNU Lesser
 * General Public License as published by the Free Software Foundation.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#include "stdafx.h"

#include <malloc.h>
#include <string.h>

FdoWfsDataReader::FdoWfsDataReader ()
{
}

FdoWfsDataReader::~FdoWfsDataReader (void)
{
}

/** Do not implement the copy constructor. **/
//FdoWfsDataReader::FdoWfsDataReader (const FdoWfsDataReader &right) { }

void FdoWfsDataReader::Dispose ()
{
    delete this;
}


/// <summary>Gets the number of propertys in the result set.</summary>
/// <returns>Returns the number of propertys.</returns> 
FdoInt32 FdoWfsDataReader::GetPropertyCount ()
{
    return (0);
}

/// <summary>Gets the name of the property at the given ordinal position.</summary>
/// <param name="index">Input the position of the property.</param> 
/// <returns>Returns the property name</returns> 
FdoString* FdoWfsDataReader::GetPropertyName (FdoInt32 index)
{
    return (L"");
}

/// <summary>Gets the index of the property with the specified name.</summary>
/// <param name="propertyName">Input the name of the property.</param> 
/// <returns>Returns the property index</returns> 
FdoInt32 FdoWfsDataReader::GetPropertyIndex(FdoString* propertyName)
{
    return -1; // Not implemented.
}

/// <summary>Gets the data type of the property with the specified name.</summary>
/// <param name="propertyName">Input the property name.</param> 
/// <returns>Returns the type of the property.</returns> 
FdoDataType FdoWfsDataReader::GetDataType (FdoString* propertyName)
{
    return (FdoDataType_Int16);
}

/// <summary>Gets the FDO property type of a given property. This is used
//  to indicate if a given property is a geometric property or a data property. If the property is
//  a FdoPropertyType_DataProperty, then GetDataType can be used to to find the data type of the property.</summary>
/// <param name="propertyName">Input the property name.</param> 
/// <returns>Returns the FDO property type.</returns> 
FdoPropertyType FdoWfsDataReader::GetPropertyType (FdoString* propertyName)
{
    return (FdoPropertyType_DataProperty);
}

/// <summary>Advances the reader to the next item and returns true if there is
/// another object to read or false if reading is complete. The default
/// position of the reader is prior to the first item. Thus you must
/// call ReadNext to begin accessing any data.</summary>
/// <returns>Returns true if there is a next item.</returns> 
bool FdoWfsDataReader::ReadNext ()
{
    return (false);
}


