Blender
V5.0
source
blender
freestyle
intern
system
Iterator.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
10
11
#include <iostream>
12
#include <string>
13
14
#include "
MEM_guardedalloc.h
"
15
16
using namespace
std;
17
18
namespace
Freestyle
{
19
20
class
Iterator
{
21
public
:
22
virtual
~Iterator
() {}
23
24
virtual
string
getExactTypeName
()
const
25
{
26
return
"Iterator"
;
27
}
28
29
virtual
int
increment
()
30
{
31
cerr <<
"Warning: increment() not implemented"
<< endl;
32
return
0;
33
}
34
35
virtual
int
decrement
()
36
{
37
cerr <<
"Warning: decrement() not implemented"
<< endl;
38
return
0;
39
}
40
41
virtual
bool
isBegin
()
const
42
{
43
cerr <<
"Warning: isBegin() not implemented"
<< endl;
44
return
false
;
45
}
46
47
virtual
bool
isEnd
()
const
48
{
49
cerr <<
"Warning: isEnd() not implemented"
<< endl;
50
return
false
;
51
}
52
53
MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:Iterator"
)
54
};
55
56
}
/* namespace Freestyle */
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
Freestyle::Iterator
Definition
Iterator.h:20
Freestyle::Iterator::isBegin
virtual bool isBegin() const
Definition
Iterator.h:41
Freestyle::Iterator::decrement
virtual int decrement()
Definition
Iterator.h:35
Freestyle::Iterator::getExactTypeName
virtual string getExactTypeName() const
Definition
Iterator.h:24
Freestyle::Iterator::increment
virtual int increment()
Definition
Iterator.h:29
Freestyle::Iterator::isEnd
virtual bool isEnd() const
Definition
Iterator.h:47
Freestyle::Iterator::~Iterator
virtual ~Iterator()
Definition
Iterator.h:22
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
Generated on
for Blender by
doxygen
1.16.1