endFullScreen();
}
else {
- vector<GHOST_IWindow*>::iterator result = find(m_windows.begin(), m_windows.end(), window);
+ std::vector<GHOST_IWindow*>::iterator result = find(m_windows.begin(), m_windows.end(), window);
if (result != m_windows.end()) {
setWindowInactive(window);
m_windows.erase(result);
found = true;
}
else {
- vector<GHOST_IWindow*>::const_iterator result = find(m_windows.begin(), m_windows.end(), window);
+ std::vector<GHOST_IWindow*>::const_iterator result = find(m_windows.begin(), m_windows.end(), window);
if (result != m_windows.end()) {
found = true;
}
#include <cstring>
#include <cstdlib>
-using namespace std;
-
#ifdef WITH_CXX_GUARDEDALLOC
#include "MEM_guardedalloc.h"
#endif
inline void Clear() { Len = pData[0] = 0; }
inline const STR_String & Reverse()
{
- for (int i1=0, i2=Len-1; i1<i2; i1++, i2--)
- swap(pData[i1], pData[i2]); return *this;
+ for (int i1 = 0, i2 = Len - 1; i1 < i2; i1++, i2--) {
+ std::swap(pData[i1], pData[i2]);
+ }
+ return *this;
}
// Properties
int FindOneOf(const char *set, int pos = 0) const;
int RFindOneOf(const char *set, int pos = 0) const;
- vector<STR_String> Explode(char c) const;
+ std::vector<STR_String> Explode(char c) const;
// Formatting
STR_String& Upper();
}
-
-
-
-vector<STR_String> STR_String::Explode(char c) const
+std::vector<STR_String> STR_String::Explode(char c) const
{
- STR_String lcv = *this;
- vector<STR_String> uc;
+ STR_String lcv = *this;
+ std::vector<STR_String> uc;
while (lcv.Length())
{
int pos = lcv.Find(c);
- if (pos < 0)
- {
+ if (pos < 0) {
uc.push_back(lcv);
lcv.Clear();
- } else
- {
+ }
+ else {
uc.push_back(lcv.Left(pos));
lcv = lcv.Mid(pos+1);
}
#include "KX_ISceneConverter.h"
#include "KX_IpoConvert.h"
+using namespace std;
+
class KX_WorldInfo;
class SCA_IActuator;
class SCA_IController;
#include <map> // array functionality for the propertylist
#include "STR_String.h" // STR_String class
+using namespace std;
+
#ifdef WITH_CXX_GUARDEDALLOC
#include "MEM_guardedalloc.h"
#endif
#ifndef NG_LOOPBACKNETWORKDEVICEINTERFACE_H
#define NG_LOOPBACKNETWORKDEVICEINTERFACE_H
+using namespace std;
+
#include <deque>
#include "NG_NetworkDeviceInterface.h"
#undef SendMessage
#endif
+using namespace std;
+
class NG_NetworkDeviceInterface;
class NG_NetworkScene
#include "MEM_guardedalloc.h"
#endif
+using namespace std;
+
class RAS_Rect;
/**