Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » c++ standard read-only property flag would be handy
Re: c++ standard read-only property flag would be handy [message #49068 is a reply to message #49066] Wed, 13 December 2017 12:44 Go to previous messageGo to previous message
luoganda is currently offline  luoganda
Messages: 214
Registered: November 2016
Experienced Member
Bar::Item(orIt'sDerivates) is a good example why.
ToolButton is one such derivate.

There is no way to read properties, only Set... are there like Text(), but no Get(),
unless someone 1)subclasses it or 2)duplicate data in advance <=both is unneded

If this c++ flags were available, there would be no hokus pokus to
get those values now(noNeedToWrite Get...) and worying if both set/get is implemented,
because they would already be available by design.

+ you get direct access to it, no need to worry if
setter/getter is written as by val/ref ,like ...& Get(...) and Set(...&) to access it byRef

[Updated on: Wed, 13 December 2017 13:20]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OCR library (Tesseract?)
Next Topic: some good audio library?
Goto Forum:
  


Current Time: Fri Jun 06 09:01:12 CEST 2025

Total time taken to generate the page: 0.04965 seconds