Blender
V4.3
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
11
#include <iostream>
12
#include <string>
13
14
#ifdef WITH_CXX_GUARDEDALLOC
15
# include "
MEM_guardedalloc.h
"
16
#endif
17
18
using namespace
std;
19
20
namespace
Freestyle
{
21
22
class
Iterator
{
23
public
:
24
virtual
~Iterator
() {}
25
26
virtual
string
getExactTypeName
()
const
27
{
28
return
"Iterator"
;
29
}
30
31
virtual
int
increment
()
32
{
33
cerr <<
"Warning: increment() not implemented"
<< endl;
34
return
0;
35
}
36
37
virtual
int
decrement
()
38
{
39
cerr <<
"Warning: decrement() not implemented"
<< endl;
40
return
0;
41
}
42
43
virtual
bool
isBegin
()
const
44
{
45
cerr <<
"Warning: isBegin() not implemented"
<< endl;
46
return
false
;
47
}
48
49
virtual
bool
isEnd
()
const
50
{
51
cerr <<
"Warning: isEnd() not implemented"
<< endl;
52
return
false
;
53
}
54
55
#ifdef WITH_CXX_GUARDEDALLOC
56
MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:Iterator"
)
57
#endif
58
};
59
60
}
/* namespace Freestyle */
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
Freestyle::Iterator
Definition
Iterator.h:22
Freestyle::Iterator::isBegin
virtual bool isBegin() const
Definition
Iterator.h:43
Freestyle::Iterator::decrement
virtual int decrement()
Definition
Iterator.h:37
Freestyle::Iterator::getExactTypeName
virtual string getExactTypeName() const
Definition
Iterator.h:26
Freestyle::Iterator::increment
virtual int increment()
Definition
Iterator.h:31
Freestyle::Iterator::isEnd
virtual bool isEnd() const
Definition
Iterator.h:49
Freestyle::Iterator::~Iterator
virtual ~Iterator()
Definition
Iterator.h:24
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0