Home
last modified time | relevance | path

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

123

/NW4C-1.3.3/include/nw/gfx/
Dgfx_ParticleTime.h43 friend ParticleTime operator -(const ParticleTime& rhs);
86 ParticleTime operator +(ParticleTime right) const
93 ParticleTime operator -(ParticleTime right) const
100 ParticleTime operator *(ParticleTime right) const
107 ParticleTime operator /(ParticleTime right) const
151 …ParticleTime& operator =(f32 value) { this->m_ParticleTime = Float32ToParticleTime(value); return …
152 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi…
153 …ParticleTime& operator =(ParticleTime value) { this->m_ParticleTime = value.m_ParticleTime; return…
154 …ParticleTime& operator +=(f32 value) { this->m_ParticleTime += Float32ToParticleTime(value); retur…
155 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t…
[all …]
Dgfx_GfxObject.h56 static void* operator new( size_t, void* buf ) NW_NO_THROW { return buf; } in new()
61 static void operator delete( void* ) NW_NO_THROW {} in delete()
67 static void operator delete( void*, void* ) NW_NO_THROW {} in delete()
132 void operator() (GfxObject* object) in operator() function
193 GfxPtr& operator=(GfxPtr<TObject> rhs)
195 m_MovePtr.operator=(rhs.m_MovePtr);
200 element_type& operator*() const { return *m_MovePtr; }
201 element_type* operator->() const { return m_MovePtr.operator->(); }
202 element_type& operator[](std::size_t i) const { return m_MovePtr[i]; }
223 operator SafeBool() const { return m_MovePtr.operator SafeBool(); } in SafeBool()
Dgfx_Common.h93 self_type operator = (u32 code) { m_Code = code; return *this; }
95 self_type operator |= (u32 code) { m_Code |= code; return *this; }
97 self_type operator &= (u32 code) { m_Code &= code; return *this; }
99 self_type operator = (self_type result) { m_Code = result.GetCode(); return *this; }
101 self_type operator |= (self_type result) { m_Code |= result.GetCode(); return *this; }
103 self_type operator &= (self_type result) { m_Code &= result.GetCode(); return *this; }
Dgfx_ParticleUtil.h85 bool operator() (
102 void operator()(ResModel resModel) const in operator() function
113 void operator()(ResParticleModel resParticleModel) const in operator() function
123 void operator()(ResParticleSet resParticleSet) const in operator() function
Dgfx_RenderQueue.h92 bool operator ()() const in operator() function
111 bool operator ()() const in operator() function
133 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator() function
169 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator() function
220 result_type operator()(argument_type mesh) in operator() function
277 result_type operator()(argument_type mesh) in operator() function
329 void operator() (reference element) in operator() function
776 bool operator() ( in operator() function
Dgfx_Fog.h60 void operator() (Fog* fog) in operator() function
241 result_type operator()(argument_type data) in operator() function
253 result_type operator()(argument_type data) in operator() function
/NW4C-1.3.3/include/nw/ut/
Dut_Float24.h99 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; }
100 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; }
102 operator f32() const { return m_Float32; } in f32()
104 f32 operator +(f32 right) const { return this->m_Float32 + right; }
105 f32 operator -(f32 right) const { return this->m_Float32 - right; }
106 f32 operator *(f32 right) const { return this->m_Float32 * right; }
107 f32 operator /(f32 right) const { return this->m_Float32 / right; }
109 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
110 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
111 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
[all …]
Dut_Color.h103 SelfType& operator =(u32 color)
116 SelfType& operator =(FloatColor& color); member
123 operator u32() const { return ToU32(); } in u32()
133 const SelfType operator +(const SelfType& right) const
151 const SelfType operator -(const SelfType& right) const
169 const SelfType operator *(const SelfType& right) const
187 const SelfType operator /(const SelfType& right) const
204 const SelfType operator ++()
219 const SelfType operator ++(int)
235 const SelfType operator --()
[all …]
Dut_ResDictionary.h40 virtual void* operator[](int idx) const = 0;
41 virtual void* operator[](u32 idx) const = 0;
42 virtual void* operator[](const char* key) const = 0;
43 virtual void* operator[](const ResName key) const = 0;
67 void* operator[](int idx) const { return m_Dic[ idx ]; }
68 void* operator[](u32 idx) const { return m_Dic[ idx ]; }
69 void* operator[](const char* key) const { return m_Dic[ key ]; }
70 void* operator[](const ResName key) const { return m_Dic[ key ]; }
113 void* operator[](int idx) const
119 void* operator[](u32 idx) const { return operator[](int(idx)); }
[all …]
Dut_LinkList.h75 friend bool operator==(const Self &r1,const Self &r2) { return &r1 == &r2; }
85 friend bool operator!=(const Self &r1,const Self &r2) { return !(r1 == r2); }
134 reference operator*() const { NW_NULL_ASSERT(m_pPointer); return *m_pPointer; }
135 pointer operator->() const { return m_pPointer; }
137 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; }
138 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; }
139 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; }
140 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; }
142 friend bool operator==(TIt it1, TIt it2) { return it1.m_pPointer == it2.m_pPointer; }
143 friend bool operator!=(TIt it1, TIt it2) { return !(it1 == it2); }
[all …]
Dut_ResArray.h87 TRes* operator->() { return &m_Res; }
97 const TRes* operator->() const { return &m_Res; }
183 operator pointer() { return m_pBegin; } in pointer()
184 operator const pointer() const { return m_pBegin; } in pointer()
186 reference operator[](int index)
192 const_reference operator[](int index) const
213 operator const_iterator() { return const_iterator(m_pCurrent); } in const_iterator()
215 …reference operator*() const { NW_NULL_ASSERT(m_pCurrent); return TTraits<T>::GetValue(m_pCurrent)…
218 iter_pointer operator->() const { return TTraits<T>::GetPointer(m_pCurrent); }
221 TIt &operator++() { ++m_pCurrent; return *this; }
[all …]
Dut_ResTypes.h132 void operator = (const ResNum& other) { bits = other.bits; }
133 /* T */ operator T () const { return Endian::BSwap( bits ); } in T()
134 void operator = (T val) { bits = Endian::BSwap( val ); }
170 operator const char*() const { return to_ptr(); }
185 Offset operator=(s32 ofs) { offset = ofs; return *this; }
186 operator s32() const { return offset; } in s32()
187 Offset operator+(s32 ofs) const { return s32_to_ofs(this->offset + ofs); }
188 Offset operator-(s32 ofs) const { return s32_to_ofs(this->offset - ofs); }
189 Offset operator+=(s32 ofs) { this->offset += ofs; return *this; }
190 Offset operator-=(s32 ofs) { this->offset -= ofs; return *this; }
[all …]
Dut_Iterator.h118 reference operator*() const { TIt tmp = m_Current; return (*--tmp); }
119 pointer operator->() const { return &(this->operator*()); }
121 Self& operator++() { (void)--m_Current; return *this; }
122 Self operator++(int) { Self tmp = *this; (void)--m_Current; return tmp; }
123 Self& operator--() { (void)++m_Current; return *this;}
124 Self operator--(int) { Self tmp = *this; (void)++m_Current; return tmp; }
126 friend bool operator==(const Self &r1_,const Self &r2_) { return r1_.m_Current==r2_.m_Current; }
127 friend bool operator!=(const Self &r1,const Self &r2) { return !(r1==r2); }
Dut_SharedPtr.h306 SharedPtr& operator = (const SharedPtr& other)
320 SharedPtr<TObj, TLockObject>& operator = (const SharedPtr<U, TLockObject>& other)
353 TObj& operator * () const { NW_NULL_ASSERT( m_pObj ); return *m_pObj; }
360 TObj* operator -> () const { NW_NULL_ASSERT( m_pObj ); return m_pObj; }
367 operator bool () const { return NULL != m_pObj; }
417 operator==(SharedPtr<T, TLockObject> const & a, SharedPtr<U, TLockObject> const & b)
432 operator!=(SharedPtr<T, TLockObject> const & a, SharedPtr<U, TLockObject> const & b)
519 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
531 WeakPtr& operator = (const WeakPtr<U, TLockObject>& other)
Dut_Signal.h39 ResultType operator()(TInputIterator first, TInputIterator last, const TInvoker& invoker) in operator() function
58 void operator()(TInputIterator first, TInputIterator last, const TInvoker& invoker)
102 void operator()(TSlot& slot) const
Dut_MovePtr.h66 void operator() (TObject* object) in operator() function
333 MovePtr& operator=(MovePtr rhs)
346 element_type& operator*() const
353 element_type* operator->() const
360 element_type& operator[](std::size_t i) const
429 operator SafeBool() const { return Ptr() ? &SafeBoolHelper::x : 0; } in SafeBool()
Dut_ResUtil.h147 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
149 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
187 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
189 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
373 void operator()(TObject res) const in operator() function
Dut_Children.h41 void operator() (TChild* child) in operator() function
65 void operator() (TChild* child) in operator() function
172 operator SafeBool() const { return m_Children; } in SafeBool()
Dut_MoveArray.h248 operator SafeBool() const in SafeBool()
260 MoveArray& operator=(MoveArray rhs)
270 TElement& operator[](int index)
277 const TElement& operator[](int index) const
1109 operator == (
1133 operator != (
1157 operator < (
1177 operator > (
1197 operator <= (
1217 operator >= (
Dut_Preprocessor.h22 void operator=(const TypeName&)
/NW4C-1.3.3/include/nw/config/compiler/
Dmsvc.h46 void* operator new( size_t size, void* ptr );
47 void* operator new[]( size_t size, void* ptr );
48 void operator delete( void* memory, void* ptr );
49 void operator delete[]( void* memory, void* ptr );
/NW4C-1.3.3/include/nw/gfx/res/
Dgfx_ResShape.h470 ResVertexAttribute operator*()
487 const ResVertexAttribute operator*() const
505 ResVertexAttributeIterator& operator++()
543 ResVertexAttributeIterator operator++(int)
547 this->operator++();
Dgfx_ResGraphicsFile.h751 void operator()(nw::gfx::ResTexture resTexture) const in operator() function
785 void operator()(nw::gfx::ResIndexStream resIndexStream) const in operator() function
794 void operator()(nw::gfx::ResVertexStreamBase resVertexStream) const in operator() function
835 void operator()(ResTexture resTexture) const in operator() function
860 void operator()(ResIndexStream resIndexStream) const in operator() function
868 void operator()(ResVertexStreamBase resVertexStream) const in operator() function
907 void operator()(ResModel resModel, ResMaterial resMaterial) const in operator() function
927 void operator()(ResModel resModel, ResMaterial resMaterial) const in operator() function
/NW4C-1.3.3/include/nw/snd/
Dsnd_SoundArchiveFile.h140 void* operator[](int idx) const
147 void* operator[](u32 idx) const
149 return operator[]( static_cast<int>(idx) );
151 void* operator[](const char* s) const
153 return operator()( s, 0 );
155 void* operator()(const char* s, size_t len) const in operator() function
/NW4C-1.3.3/include/nw/anim/
Danim_AnimFrameController.h129 bool operator==(const AnimFrame& rhs) const
133 bool operator!=(const AnimFrame& rhs) const

123