GteLogToStringArray.cpp
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.0 (2016/06/19)
7 
8 #include <GTEnginePCH.h>
10 using namespace gte;
11 
12 
14  :
15  Logger::Listener(flags),
16  mName(name)
17 {
18 }
19 
21 {
22  return mName;
23 }
24 
25 std::vector<std::string> const& LogToStringArray::GetMessages() const
26 {
27  return mMessages;
28 }
29 
30 std::vector<std::string>& LogToStringArray::GetMessages()
31 {
32  return mMessages;
33 }
34 
36 {
37  mMessages.push_back(message);
38 }
39 
virtual void Report(std::string const &message)
std::vector< std::string > const & GetMessages() const
std::string const & GetName() const
GLuint const GLchar * name
Definition: glcorearb.h:781
LogToStringArray(std::string const &name, int flags)
GLsizei const GLchar *const * string
Definition: glcorearb.h:809
GLuint GLsizei const GLchar * message
Definition: glcorearb.h:2538
GLbitfield flags
Definition: glcorearb.h:1591
std::vector< std::string > mMessages


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00