|
template<class Elem , class Traits , class InIter , class OutIter > |
InIter | copy_argument (InIter cur, InIter end, OutIter arg) |
|
template<class InIter , class OutIter > |
InIter | copy_argument (InIter cur, InIter end, OutIter arg) |
|
template<class Elem , class Traits , class InIter > |
InIter | skip_argument (InIter cur, InIter end) |
|
template<class InIter > |
InIter | skip_argument (InIter cur, InIter end) |
|
template<class CharT > |
stringz_iterator< CharT > | stringz_begin (const CharT *) |
|
template<class Traits , class CharT > |
stringz_iterator< CharT, Traits > | stringz_begin (const CharT *) |
|
template<class CharT > |
stringz_iterator< CharT > | stringz_end (const CharT *) |
|
template<class Traits , class CharT > |
stringz_iterator< CharT, Traits > | stringz_end (const CharT *) |
|
template<class Traits , class CharT > |
stringz_iterator< CharT > | stringz_begin (const CharT *p) |
|
template<class Traits , class CharT > |
stringz_iterator< CharT > | stringz_end (const CharT *) |
|
template<class Elem , class Traits , class InIter , class OutIter >
InIter kjk::copy_argument |
( |
InIter |
cur, |
|
|
InIter |
end, |
|
|
OutIter |
arg |
|
) |
| |
Definition at line 41 of file argv_parser.h.
43 typename Traits::int_type
c;
48 c = Traits::to_int_type(*cur);
50 if(!details::is_separator<Traits>(
c))
58 typedef typename std::iterator_traits<InIter>::difference_type difference_type;
59 difference_type backslashes(0);
63 c = Traits::to_int_type(*cur);
66 if(Traits::eq_int_type(
c,
'\\'))
73 if(Traits::eq_int_type(
c,
'"'))
77 if((backslashes % 2) == 0)
80 if(quoting && cur !=
end && Traits::eq_int_type(Traits::to_int_type(*cur),
'"'))
99 for(difference_type
i = 0;
i < backslashes; ++
i)
100 *
arg ++ = Traits::to_char_type(
'\\');
105 if(details::is_separator<Traits>(
c) && !quoting)
108 *
arg ++ = Traits::to_char_type(
c);
114 c = Traits::to_int_type(*cur);
116 if(!details::is_separator<Traits>(
c))
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP int __cdecl __cdecl eof(_In_ int _FileHandle)
Referenced by copy_argument(), and skip_argument().