ICF 3.1.1.10
Technical documentation of ICF Libraries
CDataNodePolylineBase.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// ICF includes
10#include <i2d/CPolyline.h>
11
12
13namespace i2d
14{
15
16
21{
22public:
24
28 virtual const iser::ISerializable& GetNodeData(int nodeIndex) const = 0;
29
33 virtual iser::ISerializable& GetNodeDataRef(int nodeIndex) = 0;
34
35 // reimplemented (iser::ISerializable)
36 virtual bool Serialize(iser::IArchive& archive);
37};
38
39
40} // namespace i2d
41
42
Base class for polylines with additional data stored in each node.
virtual iser::ISerializable & GetNodeDataRef(int nodeIndex)=0
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
virtual const iser::ISerializable & GetNodeData(int nodeIndex) const =0
Get user data from the given node.
2D-object representing a polyline.
Definition CPolyline.h:23
Represent input/output persistence archive.
Definition IArchive.h:34
Common class for all classes which objects can be archived or restored from archive.
Contains the 2D objects.
Definition CAffine2d.h:15

© Witold Gantzke and Kirill Lepskiy