Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 54) sorted by relevance

123

/NW4C-2.0.3/include/nw/gfx/
Dgfx_ParticleTime.h45 friend ParticleTime operator -(const ParticleTime& rhs);
88 ParticleTime operator +(ParticleTime right) const
95 ParticleTime operator -(ParticleTime right) const
102 ParticleTime operator *(ParticleTime right) const
109 ParticleTime operator /(ParticleTime right) const
153 …ParticleTime& operator =(f32 value) { this->m_ParticleTime = Float32ToParticleTime(value); return …
154 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi…
155 …ParticleTime& operator =(ParticleTime value) { this->m_ParticleTime = value.m_ParticleTime; return…
156 …ParticleTime& operator +=(f32 value) { this->m_ParticleTime += Float32ToParticleTime(value); retur…
157 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t…
[all …]
Dgfx_GfxObject.h58 static void* operator new( size_t, void* buf ) NW_NO_THROW { return buf; } in new()
63 static void operator delete( void* ) NW_NO_THROW {} in delete()
69 static void operator delete( void*, void* ) NW_NO_THROW {} in delete()
134 void operator() (GfxObject* object) in operator() function
195 GfxPtr& operator=(GfxPtr<TObject> rhs)
197 m_MovePtr.operator=(rhs.m_MovePtr);
202 element_type& operator*() const { return *m_MovePtr; }
203 element_type* operator->() const { return m_MovePtr.operator->(); }
204 element_type& operator[](std::size_t i) const { return m_MovePtr[i]; }
225 operator SafeBool() const { return m_MovePtr.operator SafeBool(); } in SafeBool()
Dgfx_Common.h96 self_type operator = (u32 code) { m_Code = code; return *this; }
98 self_type operator |= (u32 code) { m_Code |= code; return *this; }
100 self_type operator &= (u32 code) { m_Code &= code; return *this; }
102 self_type operator = (self_type result) { m_Code = result.GetCode(); return *this; }
104 self_type operator |= (self_type result) { m_Code |= result.GetCode(); return *this; }
106 self_type operator &= (self_type result) { m_Code &= result.GetCode(); return *this; }
Dgfx_ParticleUtil.h87 bool operator() (
104 void operator()(ResModel resModel) const in operator() function
115 void operator()(ResParticleModel resParticleModel) const in operator() function
125 void operator()(ResParticleSet resParticleSet) const in operator() function
Dgfx_RenderQueue.h94 bool operator ()() const in operator() function
113 bool operator ()() const in operator() function
135 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator() function
171 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator() function
222 result_type operator()(argument_type mesh) in operator() function
279 result_type operator()(argument_type mesh) in operator() function
331 void operator() (reference element) in operator() function
778 bool operator() ( in operator() function
Dgfx_ParticleModel.h52 void operator()(const ParticleSet* particleSet);
66 void operator()(ParticleSet* particleSet);
80 void operator()(ParticleSet* particleSet);
Dgfx_Fog.h62 void operator() (Fog* fog) in operator() function
243 result_type operator()(argument_type data) in operator() function
255 result_type operator()(argument_type data) in operator() function
/NW4C-2.0.3/include/nw/ut/
Dut_Float24.h101 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; }
102 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; }
104 operator f32() const { return m_Float32; } in f32()
106 f32 operator +(f32 right) const { return this->m_Float32 + right; }
107 f32 operator -(f32 right) const { return this->m_Float32 - right; }
108 f32 operator *(f32 right) const { return this->m_Float32 * right; }
109 f32 operator /(f32 right) const { return this->m_Float32 / right; }
111 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
112 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
113 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
[all …]
Dut_Color.h105 SelfType& operator =(u32 color)
118 SelfType& operator =(FloatColor& color); member
125 operator u32() const { return ToU32(); } in u32()
135 const SelfType operator +(const SelfType& right) const
153 const SelfType operator -(const SelfType& right) const
171 const SelfType operator *(const SelfType& right) const
189 const SelfType operator /(const SelfType& right) const
206 const SelfType operator ++()
221 const SelfType operator ++(int)
237 const SelfType operator --()
[all …]
Dut_ResDictionary.h42 virtual void* operator[](int idx) const = 0;
43 virtual void* operator[](u32 idx) const = 0;
44 virtual void* operator[](const char* key) const = 0;
45 virtual void* operator[](const ResName key) const = 0;
69 void* operator[](int idx) const { return m_Dic[ idx ]; }
70 void* operator[](u32 idx) const { return m_Dic[ idx ]; }
71 void* operator[](const char* key) const { return m_Dic[ key ]; }
72 void* operator[](const ResName key) const { return m_Dic[ key ]; }
115 void* operator[](int idx) const
121 void* operator[](u32 idx) const { return operator[](int(idx)); }
[all …]
Dut_LinkList.h77 friend bool operator==(const Self &r1,const Self &r2) { return &r1 == &r2; }
87 friend bool operator!=(const Self &r1,const Self &r2) { return !(r1 == r2); }
136 reference operator*() const { NW_NULL_ASSERT(m_pPointer); return *m_pPointer; }
137 pointer operator->() const { return m_pPointer; }
139 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; }
140 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; }
141 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; }
142 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; }
144 friend bool operator==(TIt it1, TIt it2) { return it1.m_pPointer == it2.m_pPointer; }
145 friend bool operator!=(TIt it1, TIt it2) { return !(it1 == it2); }
[all …]
Dut_ResArray.h89 TRes* operator->() { return &m_Res; }
99 const TRes* operator->() const { return &m_Res; }
185 operator pointer() { return m_pBegin; } in pointer()
186 operator const pointer() const { return m_pBegin; } in pointer()
188 reference operator[](int index)
194 const_reference operator[](int index) const
215 operator const_iterator() { return const_iterator(m_pCurrent); } in const_iterator()
217 …reference operator*() const { NW_NULL_ASSERT(m_pCurrent); return TTraits<T>::GetValue(m_pCurrent)…
220 iter_pointer operator->() const { return TTraits<T>::GetPointer(m_pCurrent); }
223 TIt &operator++() { ++m_pCurrent; return *this; }
[all …]
Dut_ResTypes.h134 void operator = (const ResNum& other) { bits = other.bits; }
135 /* T */ operator T () const { return Endian::BSwap( bits ); } in T()
136 void operator = (T val) { bits = Endian::BSwap( val ); }
172 operator const char*() const { return to_ptr(); }
187 Offset operator=(s32 ofs) { offset = ofs; return *this; }
188 operator s32() const { return offset; } in s32()
189 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); }
190 Offset operator-(s32 ofs) const { return s32_to_ofs(this->offset - ofs); }
191 Offset operator+=(s32 ofs) { this->offset += ofs; return *this; }
192 Offset operator-=(s32 ofs) { this->offset -= ofs; return *this; }
[all …]
Dut_Iterator.h120 reference operator*() const { TIt tmp = m_Current; return (*--tmp); }
121 pointer operator->() const { return &(this->operator*()); }
123 Self& operator++() { (void)--m_Current; return *this; }
124 Self operator++(int) { Self tmp = *this; (void)--m_Current; return tmp; }
125 Self& operator--() { (void)++m_Current; return *this;}
126 Self operator--(int) { Self tmp = *this; (void)++m_Current; return tmp; }
128 friend bool operator==(const Self &r1_,const Self &r2_) { return r1_.m_Current==r2_.m_Current; }
129 friend bool operator!=(const Self &r1,const Self &r2) { return !(r1==r2); }
Dut_SharedPtr.h308 SharedPtr& operator = (const SharedPtr& other)
322 SharedPtr<TObj, TLockObject>& operator = (const SharedPtr<U, TLockObject>& other)
355 TObj& operator * () const { NW_NULL_ASSERT( m_pObj ); return *m_pObj; }
362 TObj* operator -> () const { NW_NULL_ASSERT( m_pObj ); return m_pObj; }
369 operator bool () const { return NULL != m_pObj; }
419 operator==(SharedPtr<T, TLockObject> const & a, SharedPtr<U, TLockObject> const & b)
434 operator!=(SharedPtr<T, TLockObject> const & a, SharedPtr<U, TLockObject> const & b)
548 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
559 WeakPtr& operator = (const WeakPtr& other)
571 WeakPtr& operator = (const WeakPtr<U, TLockObject>& other)
Dut_Signal.h41 ResultType operator()(TInputIterator first, TInputIterator last, const TInvoker& invoker) in operator() function
60 void operator()(TInputIterator first, TInputIterator last, const TInvoker& invoker)
104 void operator()(TSlot& slot) const
Dut_MovePtr.h68 void operator() (TObject* object) in operator() function
335 MovePtr& operator=(MovePtr rhs)
348 element_type& operator*() const
355 element_type* operator->() const
362 element_type& operator[](std::size_t i) const
431 operator SafeBool() const { return Ptr() ? &SafeBoolHelper::x : 0; } in SafeBool()
Dut_ResUtil.h149 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
151 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
189 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
191 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
375 void operator()(TObject res) const in operator() function
Dut_Children.h43 void operator() (TChild* child) in operator() function
67 void operator() (TChild* child) in operator() function
174 operator SafeBool() const { return m_Children; } in SafeBool()
Dut_MoveArray.h250 operator SafeBool() const in SafeBool()
262 MoveArray& operator=(MoveArray rhs)
272 TElement& operator[](int index)
279 const TElement& operator[](int index) const
1111 operator == (
1135 operator != (
1159 operator < (
1179 operator > (
1199 operator <= (
1219 operator >= (
Dut_Preprocessor.h24 void operator=(const TypeName&)
/NW4C-2.0.3/include/nw/config/compiler/
Dmsvc.h48 void* operator new( size_t size, void* ptr );
49 void* operator new[]( size_t size, void* ptr );
50 void operator delete( void* memory, void* ptr );
51 void operator delete[]( void* memory, void* ptr );
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResShape.h475 ResVertexAttribute operator*()
492 const ResVertexAttribute operator*() const
510 ResVertexAttributeIterator& operator++()
548 ResVertexAttributeIterator operator++(int)
552 this->operator++();
Dgfx_ResGraphicsFile.h1050 void operator() (ResTexture texture) in operator() function
1072 void operator() (ResMaterial material) in operator() function
1128 void operator()(nw::gfx::ResTexture resTexture) const in operator() function
1162 void operator()(nw::gfx::ResIndexStream resIndexStream) const in operator() function
1171 void operator()(nw::gfx::ResVertexStreamBase resVertexStream) const in operator() function
1212 void operator()(ResTexture resTexture) const in operator() function
1237 void operator()(ResIndexStream resIndexStream) const in operator() function
1245 void operator()(ResVertexStreamBase resVertexStream) const in operator() function
1284 void operator()(ResModel resModel, ResMaterial resMaterial) const in operator() function
1304 void operator()(ResModel resModel, ResMaterial resMaterial) const in operator() function
/NW4C-2.0.3/include/nw/snd/
Dsnd_SoundArchiveFile.h142 void* operator[](int idx) const
149 void* operator[](u32 idx) const
151 return operator[]( static_cast<int>(idx) );
153 void* operator[](const char* s) const
155 return operator()( s, 0 );
157 void* operator()(const char* s, size_t len) const in operator() function

123