Skip to content
Snippets Groups Projects

Style string methods

Merged Mark OLESEN requested to merge style-string-methods into develop

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Maintainer
    • Consolidate some string methods, improve consistency of const-access, use some C++11 constructs for more clarity.

    • static versions of fileName clean(), path(), name(). The general idea is that there are number of methods related to fileName semantics but that we may wish to use on any existing string type (eg, std::string or Foam::string without transforming to fileName first). Among other things, this lets us cleanup a string like a fileName and split it, but without requiring that the individual elements are a word. We may wish to have a keyType instead (containing invalid word characters).

    Edited by Mark OLESEN
  • Mark OLESEN mentioned in commit e50eb00d4af3e6c312b7722e1daaf217aed1d190

    mentioned in commit e50eb00d4af3e6c312b7722e1daaf217aed1d190

  • merged

Please register or sign in to reply