Classes | Public Member Functions

VR3Map::Less Struct Reference

string less_than, returns true if s1 < s2 More...

#include <VR3Map.h>

List of all members.

Classes

struct  nocase_compare
 case-insensitive (ci) character compare_less binary function More...

Public Member Functions

bool operator() (const std::string &s1, const std::string &s2) const
 case-insensitive compare

Detailed Description

string less_than, returns true if s1 < s2

This structure is used for comparison in map keys representing file names. On unix-like systems we have that file names are case-sensitive and a simple string compare suffices. On windows systems we have that file and directory names are case-insensitive and comparison must take place in a case-insensitive fashon.

Definition at line 34 of file VR3Map.h.


Member Function Documentation

bool VR3Map::Less::operator() ( const std::string &  s1,
const std::string &  s2 
) const [inline]

case-insensitive compare

Definition at line 46 of file VR3Map.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines